Module: wine Branch: master Commit: 1e23e889143e2070285d3ce3d89fee710ddc88d3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=1e23e889143e2070285d3ce3d8...
Author: Jacek Caban jacek@codeweavers.com Date: Fri Aug 14 19:28:39 2009 +0200
dbghelp: Check for NULL adt before using it in stabs_pts_read_aggregate.
---
dlls/dbghelp/stabs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/dbghelp/stabs.c b/dlls/dbghelp/stabs.c index 0efc58b..ecc6863 100644 --- a/dlls/dbghelp/stabs.c +++ b/dlls/dbghelp/stabs.c @@ -652,7 +652,7 @@ static inline int stabs_pts_read_aggregate(struct ParseTypedefData* ptd,
PTS_ABORTIF(ptd, stabs_pts_read_type_def(ptd, NULL, &adt) == -1);
- if (doadd) + if (doadd && adt) { char tmp[256]; DWORD64 size;