Module: wine Branch: master Commit: 841083898b460ace8efed2fc4d3b66ed3c60f468 URL: https://source.winehq.org/git/wine.git/?a=commit;h=841083898b460ace8efed2fc4...
Author: Eric Pouech eric.pouech@gmail.com Date: Wed Oct 6 10:02:24 2021 +0200
dbghelp: Handle address of labels not included in functions.
(MASM generate those)
Signed-off-by: Eric Pouech eric.pouech@gmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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: