mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-04 19:58:08 +00:00
dbghelp: Check for NULL adt before using it in stabs_pts_read_aggregate.
This commit is contained in:
parent
4cc3ce923a
commit
1e23e88914
|
@ -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);
|
PTS_ABORTIF(ptd, stabs_pts_read_type_def(ptd, NULL, &adt) == -1);
|
||||||
|
|
||||||
if (doadd)
|
if (doadd && adt)
|
||||||
{
|
{
|
||||||
char tmp[256];
|
char tmp[256];
|
||||||
DWORD64 size;
|
DWORD64 size;
|
||||||
|
|
Loading…
Reference in a new issue