[PATCH 9/9] dbghelp: in SymGetTypeInfo(), handle labels not included in functions

Eric Pouech eric.pouech at gmail.com
Tue Oct 5 07:25:54 CDT 2021


(MASM generate those)

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

---
 dlls/dbghelp/type.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/dbghelp/type.c b/dlls/dbghelp/type.c
index 24c8da7da78..64caa76a426 100644
--- a/dlls/dbghelp/type.c
+++ b/dlls/dbghelp/type.c
@@ -160,7 +160,7 @@ BOOL symt_get_address(const struct symt* type, ULONG64* addr)
     case SymTagLabel:
         if (!((const struct symt_hierarchy_point*)type)->parent ||
             !symt_get_address(((const struct symt_hierarchy_point*)type)->parent, addr))
-            return FALSE;
+            *addr = 0;
         *addr += ((const struct symt_hierarchy_point*)type)->loc.offset;
         break;
     case SymTagThunk:




More information about the wine-devel mailing list