[ADVAPI32]

- Add parameter check to RegQueryInfoKeyA
CORE-6976

svn path=/trunk/; revision=67711
This commit is contained in:
Thomas Faber 2015-05-14 13:02:49 +00:00
parent a4c81347b4
commit f94cb518bb

View file

@ -3604,6 +3604,11 @@ RegQueryInfoKeyA(HKEY hKey,
NTSTATUS Status;
DWORD cClass = 0;
if ((lpClass) && (!lpcClass))
{
return ERROR_INVALID_PARAMETER;
}
RtlInitUnicodeString(&UnicodeString,
NULL);
if (lpClass != NULL)