mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 19:33:38 +00:00
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 a new issue