mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -05:00
sys: FspFsvolFileSystemControlReparsePoint
This commit is contained in:
parent
8d379a4c8b
commit
23d2083d8f
@ -137,7 +137,7 @@ static NTSTATUS FspFsvolFileSystemControlReparsePoint(
|
||||
if (0 == InputBuffer || 0 == InputBufferLength)
|
||||
return STATUS_INVALID_BUFFER_SIZE;
|
||||
|
||||
if (0 != OutputBuffer || 0 != OutputBufferLength)
|
||||
if (0 != OutputBufferLength)
|
||||
return STATUS_INVALID_PARAMETER;
|
||||
|
||||
if (FSP_FSCTL_TRANSACT_REQ_BUFFER_SIZEMAX - (FileNode->FileName.Length + sizeof(WCHAR)) <
|
||||
@ -248,6 +248,9 @@ static NTSTATUS FspFsvolFileSystemControlReparsePoint(
|
||||
}
|
||||
else
|
||||
{
|
||||
if (0 != InputBufferLength)
|
||||
return STATUS_INVALID_PARAMETER;
|
||||
|
||||
if (0 == OutputBuffer || 0 == OutputBufferLength)
|
||||
return STATUS_INVALID_USER_BUFFER;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user