mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-08 04:52:10 -05:00
sys: FspVolumeTransact: FSP_FSCTL_TRANSACT_INTERNAL
Zero out OutputBuffer on error to avoid confusion for fsext providers.
This commit is contained in:
parent
20e19cb0fc
commit
84e0744c28
@ -965,6 +965,7 @@ NTSTATUS FspVolumeTransact(
|
|||||||
if (0 != InternalBuffer)
|
if (0 != InternalBuffer)
|
||||||
{
|
{
|
||||||
ASSERT(FSP_FSCTL_TRANSACT_INTERNAL == ControlCode);
|
ASSERT(FSP_FSCTL_TRANSACT_INTERNAL == ControlCode);
|
||||||
|
*(PVOID *)OutputBuffer = 0;
|
||||||
FspFree(InternalBuffer);
|
FspFree(InternalBuffer);
|
||||||
}
|
}
|
||||||
FspIopCompleteCanceledIrp(PendingIrp);
|
FspIopCompleteCanceledIrp(PendingIrp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user