[FASTFAT]
authorThomas Faber <thomas.faber@reactos.org>
Tue, 10 May 2016 18:29:06 +0000 (18:29 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Tue, 10 May 2016 18:29:06 +0000 (18:29 +0000)
- Fix a use after free in VfatFlushVolume
CORE-11224 #resolve

svn path=/trunk/; revision=71311

reactos/drivers/filesystems/fastfat/flush.c

index da248f3..c1ebc89 100644 (file)
@@ -115,7 +115,7 @@ VfatFlushVolume(
         if (Status == STATUS_PENDING)
         {
             KeWaitForSingleObject(&Event, Executive, KernelMode, FALSE, NULL);
-            Status = Irp->IoStatus.Status;
+            Status = IoStatusBlock.Status;
         }
 
         /* Ignore device not supporting flush operation */