Alexandre Julliard : dbghelp: Try to avoid crashing on unrecognized attributes.
Alexandre Julliard
julliard at winehq.org
Fri May 29 09:15:50 CDT 2009
Module: wine
Branch: master
Commit: bb2d643f490106e033dbc606a5928ab232be5cd4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=bb2d643f490106e033dbc606a5928ab232be5cd4
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri May 29 12:30:28 2009 +0200
dbghelp: Try to avoid crashing on unrecognized attributes.
---
dlls/dbghelp/dwarf.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c
index 44e2cad..82e836f 100644
--- a/dlls/dbghelp/dwarf.c
+++ b/dlls/dbghelp/dwarf.c
@@ -1334,6 +1334,8 @@ static void dwarf2_parse_variable(dwarf2_subprogram_t* subpgm,
switch (loc.kind)
{
+ case loc_error:
+ break;
case loc_absolute:
/* it's a global variable */
/* FIXME: we don't handle its scope yet */
More information about the wine-cvs
mailing list