Author: tfaber
Date: Tue May 10 18:29:06 2016
New Revision: 71311
URL:
http://svn.reactos.org/svn/reactos?rev=71311&view=rev
Log:
[FASTFAT]
- Fix a use after free in VfatFlushVolume
CORE-11224 #resolve
Modified:
trunk/reactos/drivers/filesystems/fastfat/flush.c
Modified: trunk/reactos/drivers/filesystems/fastfat/flush.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fastfa…
==============================================================================
--- trunk/reactos/drivers/filesystems/fastfat/flush.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/fastfat/flush.c [iso-8859-1] Tue May 10 18:29:06
2016
@@ -115,7 +115,7 @@
if (Status == STATUS_PENDING)
{
KeWaitForSingleObject(&Event, Executive, KernelMode, FALSE, NULL);
- Status = Irp->IoStatus.Status;
+ Status = IoStatusBlock.Status;
}
/* Ignore device not supporting flush operation */