mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -05:00
sys: FspFsvolFileSystemControlReparsePointComplete: STATUS_INVALID_PARAMETER
This commit is contained in:
parent
ada3e1b0e5
commit
d301164609
@ -114,7 +114,7 @@ static NTSTATUS FspFsvolFileSystemControlReparsePoint(
|
||||
|
||||
/* is this a valid FileObject? */
|
||||
if (!FspFileNodeIsValid(FileObject->FsContext))
|
||||
return STATUS_INVALID_DEVICE_REQUEST;
|
||||
return STATUS_INVALID_PARAMETER;
|
||||
|
||||
NTSTATUS Result;
|
||||
FSP_FILE_NODE *FileNode = FileObject->FsContext;
|
||||
@ -135,6 +135,7 @@ static NTSTATUS FspFsvolFileSystemControlReparsePoint(
|
||||
if (IsWrite)
|
||||
{
|
||||
if (0 == InputBuffer || 0 == InputBufferLength ||
|
||||
0 != OutputBuffer || 0 != OutputBufferLength ||
|
||||
FSP_FSCTL_TRANSACT_REQ_BUFFER_SIZEMAX - (FileNode->FileName.Length + sizeof(WCHAR)) <
|
||||
InputBufferLength)
|
||||
return STATUS_INVALID_PARAMETER;
|
||||
|
Loading…
x
Reference in New Issue
Block a user