[MOUNTMGR]

While we're at calling IoCreateFile, skip parameters checking, we know our parameters are alright.

svn path=/trunk/; revision=69311
This commit is contained in:
Pierre Schweitzer 2015-09-21 19:11:06 +00:00
parent 70824cb35c
commit 7b90b413a5

View file

@ -1727,7 +1727,7 @@ CreateRemoteDatabaseWorker(IN PDEVICE_OBJECT DeviceObject,
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 @@ OpenRemoteDatabase(IN PDEVICE_INFORMATION DeviceInformation,
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");