[PATCH 09/11] [DbgHelp]: when managing DW_OP_deref_size, always ensure we read the size parameter

Eric Pouech eric.pouech at orange.fr
Sun Mar 13 15:31:11 CDT 2011




A+
---

 dlls/dbghelp/dwarf.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c
index 95160dc..5d6fd25 100644
--- a/dlls/dbghelp/dwarf.c
+++ b/dlls/dbghelp/dwarf.c
@@ -853,7 +853,8 @@ compute_location(dwarf2_traverse_context_t* ctx, struct location* loc,
             }
             else
             {
-               loc->kind = loc_dwarf2_block;
+                dwarf2_parse_byte(ctx);
+                loc->kind = loc_dwarf2_block;
             }
             break;
         case DW_OP_stack_value:




More information about the wine-patches mailing list