mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
- Check if CompletionFilter has a valid value too.
svn path=/trunk/; revision=38530
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user