Author: pschweitzer
Date: Mon Sep 21 19:11:06 2015
New Revision: 69311
URL:
http://svn.reactos.org/svn/reactos?rev=69311&view=rev
Log:
[MOUNTMGR]
While we're at calling IoCreateFile, skip parameters checking, we know our parameters
are alright.
Modified:
trunk/reactos/drivers/filters/mountmgr/database.c
Modified: trunk/reactos/drivers/filters/mountmgr/database.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filters/mountmgr/d…
==============================================================================
--- trunk/reactos/drivers/filters/mountmgr/database.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filters/mountmgr/database.c [iso-8859-1] Mon Sep 21 19:11:06
2015
@@ -1727,7 +1727,7 @@
0,
CreateFileTypeNone,
NULL,
- IO_STOP_ON_SYMLINK);
+ IO_STOP_ON_SYMLINK | IO_NO_PARAMETER_CHECKING);
if (!NT_SUCCESS(Status))
{
if (Status == STATUS_STOPPED_ON_SYMLINK)
@@ -1865,7 +1865,7 @@
0,
CreateFileTypeNone,
NULL,
- IO_STOP_ON_SYMLINK);
+ IO_STOP_ON_SYMLINK | IO_NO_PARAMETER_CHECKING);
if (Status == STATUS_STOPPED_ON_SYMLINK)
{
DPRINT1("Attempt to exploit CVE-2015-1769. See CORE-10216\n");