mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 08:53:01 -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? */
|
/* is this a valid FileObject? */
|
||||||
if (!FspFileNodeIsValid(FileObject->FsContext))
|
if (!FspFileNodeIsValid(FileObject->FsContext))
|
||||||
return STATUS_INVALID_DEVICE_REQUEST;
|
return STATUS_INVALID_PARAMETER;
|
||||||
|
|
||||||
NTSTATUS Result;
|
NTSTATUS Result;
|
||||||
FSP_FILE_NODE *FileNode = FileObject->FsContext;
|
FSP_FILE_NODE *FileNode = FileObject->FsContext;
|
||||||
@ -135,6 +135,7 @@ static NTSTATUS FspFsvolFileSystemControlReparsePoint(
|
|||||||
if (IsWrite)
|
if (IsWrite)
|
||||||
{
|
{
|
||||||
if (0 == InputBuffer || 0 == InputBufferLength ||
|
if (0 == InputBuffer || 0 == InputBufferLength ||
|
||||||
|
0 != OutputBuffer || 0 != OutputBufferLength ||
|
||||||
FSP_FSCTL_TRANSACT_REQ_BUFFER_SIZEMAX - (FileNode->FileName.Length + sizeof(WCHAR)) <
|
FSP_FSCTL_TRANSACT_REQ_BUFFER_SIZEMAX - (FileNode->FileName.Length + sizeof(WCHAR)) <
|
||||||
InputBufferLength)
|
InputBufferLength)
|
||||||
return STATUS_INVALID_PARAMETER;
|
return STATUS_INVALID_PARAMETER;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user