mirror of
https://github.com/winfsp/winfsp.git
synced 2025-07-03 09:22:57 -05:00
sys: FspFsvolQueryFsAttributeInformation: fix buffer overrun error
This commit is contained in:
@ -169,6 +169,7 @@ static NTSTATUS FspVolumeCreateNoLock(
|
||||
if (I == PrefixLength)
|
||||
return STATUS_INVALID_PARAMETER;
|
||||
}
|
||||
VolumeParams.FileSystemName[sizeof VolumeParams.FileSystemName / sizeof(WCHAR) - 1] = L'\0';
|
||||
|
||||
/* create volume guid */
|
||||
Result = FspCreateGuid(&Guid);
|
||||
|
Reference in New Issue
Block a user