From a26ed126769d26a9e75f00856a6f5851cdc2cbd4 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Sun, 13 Mar 2011 21:31:11 +0100 Subject: [PATCH] dbghelp: When managing DW_OP_deref_size, always ensure we read the size parameter. --- dlls/dbghelp/dwarf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c index 95160dc19cd..5d6fd25b17c 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: