Author: pschweitzer
Date: Sun Feb 26 11:27:24 2017
New Revision: 73920

URL: http://svn.reactos.org/svn/reactos?rev=73920&view=rev
Log:
[NTOSKRNL]
Spotted with kmtest:IoFilesystem: these checks are not performed in free builds 
for kernel callers and are delegated to the FSD.

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?rev=73920&r1=73919&r2=73920&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/iofunc.c    [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/iofunc.c    [iso-8859-1] Sun Feb 26 
11:27:24 2017
@@ -2115,6 +2115,7 @@
         }
         _SEH2_END;
     }
+#if DBG
     else
     {
         /* Validate the information class */
@@ -2132,6 +2133,7 @@
             return STATUS_INFO_LENGTH_MISMATCH;
         }
     }
+#endif
 
     /* Reference the Handle */
     Status = ObReferenceObjectByHandle(FileHandle,


Reply via email to