dbghelp: Check for NULL adt before using it in stabs_pts_read_aggregate.

This commit is contained in:
Jacek Caban 2009-08-14 19:28:39 +02:00 committed by Alexandre Julliard
parent 4cc3ce923a
commit 1e23e88914
1 changed files with 1 additions and 1 deletions

View File

@ -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;