Author: tfaber
Date: Wed Apr 30 18:59:39 2014
New Revision: 63082
URL:
http://svn.reactos.org/svn/reactos?rev=63082&view=rev
Log:
[DBGHELP]
- Fix order of operations for assignment in symt_fill_sym_info. Patch by Víctor Martínez
CORE-8114 #resolve
Modified:
trunk/reactos/dll/win32/dbghelp/symbol.c
Modified: trunk/reactos/dll/win32/dbghelp/symbol.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/dbghelp/symbol.c…
==============================================================================
--- trunk/reactos/dll/win32/dbghelp/symbol.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/dbghelp/symbol.c [iso-8859-1] Wed Apr 30 18:59:39 2014
@@ -703,8 +703,8 @@
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);