dbghelp: Fix invalid assignment in symt_fill_sym_info.
This commit is contained in:
parent
36309142d0
commit
9eca0aa8a7
|
@ -696,8 +696,8 @@ static void symt_fill_sym_info(struct module_pair* pair,
|
|||
if (sym_info->MaxNameLen)
|
||||
{
|
||||
if (sym->tag != SymTagPublicSymbol || !(dbghelp_options & SYMOPT_UNDNAME) ||
|
||||
(sym_info->NameLen = UnDecorateSymbolName(name, sym_info->Name,
|
||||
sym_info->MaxNameLen, UNDNAME_NAME_ONLY) == 0))
|
||||
((sym_info->NameLen = UnDecorateSymbolName(name, sym_info->Name,
|
||||
sym_info->MaxNameLen, UNDNAME_NAME_ONLY)) == 0))
|
||||
{
|
||||
sym_info->NameLen = min(strlen(name), sym_info->MaxNameLen - 1);
|
||||
memcpy(sym_info->Name, name, sym_info->NameLen);
|
||||
|
|
Loading…
Reference in New Issue