Author: tfaber
Date: Thu Oct 16 21:43:03 2014
New Revision: 64772
URL:
http://svn.reactos.org/svn/reactos?rev=64772&view=rev
Log:
[NPFS]
- Don't return a canceled IRP from NpRemoveDataQueueEntry.
Modified:
trunk/reactos/drivers/filesystems/npfs/datasup.c
Modified: trunk/reactos/drivers/filesystems/npfs/datasup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/npfs/d…
==============================================================================
--- trunk/reactos/drivers/filesystems/npfs/datasup.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/npfs/datasup.c [iso-8859-1] Thu Oct 16 21:43:03
2014
@@ -146,9 +146,10 @@
Irp = QueueEntry->Irp;
NpFreeClientSecurityContext(QueueEntry->ClientSecurityContext);
- if (Irp && IoSetCancelRoutine(Irp, NULL))
+ if (Irp && !IoSetCancelRoutine(Irp, NULL))
{
Irp->Tail.Overlay.DriverContext[3] = NULL;
+ Irp = NULL;
}
ExFreePool(QueueEntry);