Eric Pouech : dbghelp: Handle some more error conditions in SymGetTypeInfo().

Alexandre Julliard julliard at winehq.org
Tue Oct 19 16:07:48 CDT 2021


Module: wine
Branch: master
Commit: 2f093aef26d74704ecc68227a68820a93d819490
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=2f093aef26d74704ecc68227a68820a93d819490

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Tue Oct 19 15:51:00 2021 +0200

dbghelp: Handle some more error conditions in SymGetTypeInfo().

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dbghelp/type.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dlls/dbghelp/type.c b/dlls/dbghelp/type.c
index eecb83f325f..80f8eca768e 100644
--- a/dlls/dbghelp/type.c
+++ b/dlls/dbghelp/type.c
@@ -746,6 +746,8 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
         case SymTagFunctionType:
         case SymTagFunctionArgType:
         case SymTagLabel:
+        case SymTagFuncDebugStart:
+        case SymTagFuncDebugEnd:
             return FALSE;
         }
         break;
@@ -839,6 +841,7 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
         case SymTagArrayType:
         case SymTagBaseType:
         case SymTagTypedef:
+        case SymTagFunction:
         case SymTagBlock:
         case SymTagFuncDebugStart:
         case SymTagFuncDebugEnd:




More information about the wine-cvs mailing list