mirror of
https://github.com/winfsp/winfsp.git
synced 2026-10-14 01:09:53 -05:00
sys: FspVolumeTransact: FSP_FSCTL_TRANSACT_INTERNAL
Zero out OutputBuffer on error to avoid confusion for fsext providers.
This commit is contained in:
1 parent
20e19cb0fc
commit
84e0744c28
1 file changed
+1
@@ -965,6 +965,7 @@ NTSTATUS FspVolumeTransact(
|
||||
if (0 != InternalBuffer)
|
||||
{
|
||||
ASSERT(FSP_FSCTL_TRANSACT_INTERNAL == ControlCode);
|
||||
*(PVOID *)OutputBuffer = 0;
|
||||
FspFree(InternalBuffer);
|
||||
}
|
||||
FspIopCompleteCanceledIrp(PendingIrp);
|
||||
|
||||
Reference in new issue
Block a user