Author: dchapyshev
Date: Sat Jan 3 06:22:14 2009
New Revision: 38529
URL:
http://svn.reactos.org/svn/reactos?rev=38529&view=rev
Log:
- Add checking of CompletionFilter parameter. This is fixed 3 wine tests for kernel32
Modified:
trunk/reactos/ntoskrnl/io/iomgr/iofunc.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/iofunc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/iofunc.c…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/iofunc.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/iofunc.c [iso-8859-1] Sat Jan 3 06:22:14 2009
@@ -1121,6 +1121,12 @@
/* Check if probing failed */
if (!NT_SUCCESS(Status)) return Status;
+
+ /* Check if we have an correct parameter */
+ if (!CompletionFilter)
+ {
+ return STATUS_INVALID_PARAMETER;
+ }
}
/* Get File Object */