[PATCH 18/19] dbghelp: handle address of labels not included in functions
Eric Pouech
eric.pouech at gmail.com
Wed Oct 6 03:02:24 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 ee6e1865fa8..b09406028e8 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