[PATCH 11/19] dbghelp: return error when requesting SymTagLabel's size in SymGetTypeInfo()

Eric Pouech eric.pouech at gmail.com
Wed Oct 6 03:01:42 CDT 2021


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

---
 dlls/dbghelp/type.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dlls/dbghelp/type.c b/dlls/dbghelp/type.c
index d2721c764cf..320af023135 100644
--- a/dlls/dbghelp/type.c
+++ b/dlls/dbghelp/type.c
@@ -730,9 +730,6 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
         case SymTagThunk:
             X(DWORD64) = ((const struct symt_thunk*)type)->size;
             break;
-        case SymTagLabel:
-            X(DWORD64) = 0;
-            break;
         default:
             FIXME("Unsupported sym-tag %s for get-length\n", 
                   symt_get_tag_str(type->tag));
@@ -741,6 +738,7 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
         case SymTagCompiland:
         case SymTagFunctionType:
         case SymTagFunctionArgType:
+        case SymTagLabel:
             return FALSE;
         }
         break;




More information about the wine-devel mailing list