mirror of
https://github.com/reactos/reactos.git
synced 2024-07-10 22:55:05 +00:00
[MOUNTMGR]
MagicValue--; svn path=/trunk/; revision=69310
This commit is contained in:
parent
ee2780fe5f
commit
70824cb35c
|
@ -1108,7 +1108,7 @@ MountMgrValidateBackPointer(IN PASSOCIATED_DEVICE_ENTRY AssociatedDeviceEntry,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Allocate a buffer big enough to read reparse data */
|
/* Allocate a buffer big enough to read reparse data */
|
||||||
ReparseData = AllocatePool(0x4000);
|
ReparseData = AllocatePool(MAXIMUM_REPARSE_DATA_BUFFER_SIZE);
|
||||||
if (ReparseData == NULL)
|
if (ReparseData == NULL)
|
||||||
{
|
{
|
||||||
ZwClose(Handle);
|
ZwClose(Handle);
|
||||||
|
@ -1121,7 +1121,7 @@ MountMgrValidateBackPointer(IN PASSOCIATED_DEVICE_ENTRY AssociatedDeviceEntry,
|
||||||
&IoStatusBlock,
|
&IoStatusBlock,
|
||||||
FSCTL_GET_REPARSE_POINT,
|
FSCTL_GET_REPARSE_POINT,
|
||||||
NULL, 0,
|
NULL, 0,
|
||||||
ReparseData, 0x4000);
|
ReparseData, MAXIMUM_REPARSE_DATA_BUFFER_SIZE);
|
||||||
ZwClose(Handle);
|
ZwClose(Handle);
|
||||||
|
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
|
|
Loading…
Reference in a new issue