mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 17:03:12 -05:00
sys: fsctl: minor fix
This commit is contained in:
parent
7ec3e88cc6
commit
502c334294
@ -30,6 +30,7 @@ FSP_API NTSTATUS FspFsctlCreateVolume(PWSTR DevicePath, PSECURITY_DESCRIPTOR Sec
|
|||||||
|
|
||||||
GlobalDevicePath(DevicePathBuf, sizeof DevicePathBuf, DevicePath);
|
GlobalDevicePath(DevicePathBuf, sizeof DevicePathBuf, DevicePath);
|
||||||
|
|
||||||
|
SecurityDescriptorSize = 0;
|
||||||
if (!MakeSelfRelativeSD(SecurityDescriptor, 0, &SecurityDescriptorSize))
|
if (!MakeSelfRelativeSD(SecurityDescriptor, 0, &SecurityDescriptorSize))
|
||||||
{
|
{
|
||||||
SecurityDescriptorBuf = malloc(SecurityDescriptorSize);
|
SecurityDescriptorBuf = malloc(SecurityDescriptorSize);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user