Eric Pouech : dbghelp: When managing DW_OP_deref_size, always ensure we read the size parameter.

Alexandre Julliard julliard at winehq.org
Mon Mar 14 14:29:39 CDT 2011


Module: wine
Branch: master
Commit: a26ed126769d26a9e75f00856a6f5851cdc2cbd4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a26ed126769d26a9e75f00856a6f5851cdc2cbd4

Author: Eric Pouech <eric.pouech at orange.fr>
Date:   Sun Mar 13 21:31:11 2011 +0100

dbghelp: When managing DW_OP_deref_size, always ensure we read the size parameter.

---

 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-cvs mailing list