Eric Pouech : dbghelp: In dwarf attribute parsing, ensure that we do have a block when parsing a block.
Alexandre Julliard
julliard at winehq.org
Mon Mar 29 09:57:49 CDT 2010
Module: wine
Branch: master
Commit: 6a6edcd1ca8820145e36916b0dfdca48c38fb763
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6a6edcd1ca8820145e36916b0dfdca48c38fb763
Author: Eric Pouech <eric.pouech at orange.fr>
Date: Sat Mar 27 09:08:44 2010 +0100
dbghelp: In dwarf attribute parsing, ensure that we do have a block when parsing a block.
---
dlls/dbghelp/dwarf.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c
index 94563af..1652f46 100644
--- a/dlls/dbghelp/dwarf.c
+++ b/dlls/dbghelp/dwarf.c
@@ -878,6 +878,13 @@ static BOOL dwarf2_compute_location_attr(dwarf2_parse_context_t* ctx,
loc->reg = Wine_DW_no_register;
loc->offset = xloc.u.uvalue;
return TRUE;
+ case DW_FORM_block:
+ case DW_FORM_block1:
+ case DW_FORM_block2:
+ case DW_FORM_block4:
+ break;
+ default: FIXME("Unsupported yet form %lx\n", xloc.form);
+ return FALSE;
}
/* assume we have a block form */
More information about the wine-cvs
mailing list