mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +00:00
[ADVAPI32]
- Add parameter check to RegQueryInfoKeyA CORE-6976 svn path=/trunk/; revision=67711
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user