mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
Don't try to access an optional parameter if it is NULL
svn path=/trunk/; revision=19242
This commit is contained in:
@@ -1236,7 +1236,7 @@ static LONG SETUP_CreateDevList(
|
||||
DWORD dwLength;
|
||||
DWORD rc;
|
||||
|
||||
if (IsEqualIID(class, &GUID_NULL))
|
||||
if (class && IsEqualIID(class, &GUID_NULL))
|
||||
class = NULL;
|
||||
|
||||
/* Open Enum key */
|
||||
|
||||
Reference in New Issue
Block a user