1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-05 17:28:47 +00:00

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

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;