mirror of
https://github.com/reactos/reactos.git
synced 2025-04-24 23:50:24 +00:00
- Check if CompletionFilter has a valid value too.
svn path=/trunk/; revision=38530
This commit is contained in:
parent
b9ffb1676a
commit
331aa9e529
1 changed files with 2 additions and 2 deletions
|
@ -1122,8 +1122,8 @@ NtNotifyChangeDirectoryFile(IN HANDLE FileHandle,
|
|||
/* Check if probing failed */
|
||||
if (!NT_SUCCESS(Status)) return Status;
|
||||
|
||||
/* Check if we have an correct parameter */
|
||||
if (!CompletionFilter)
|
||||
/* Check if CompletionFilter is valid */
|
||||
if (!CompletionFilter || (CompletionFilter & ~FILE_NOTIFY_VALID_MASK))
|
||||
{
|
||||
return STATUS_INVALID_PARAMETER;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue