From 502c334294da39366929c322bf76aa6d52f37b7d Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Fri, 27 Nov 2015 16:37:48 -0800 Subject: [PATCH] sys: fsctl: minor fix --- src/dll/fsctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dll/fsctl.c b/src/dll/fsctl.c index cab35fff..9237655a 100644 --- a/src/dll/fsctl.c +++ b/src/dll/fsctl.c @@ -30,6 +30,7 @@ FSP_API NTSTATUS FspFsctlCreateVolume(PWSTR DevicePath, PSECURITY_DESCRIPTOR Sec GlobalDevicePath(DevicePathBuf, sizeof DevicePathBuf, DevicePath); + SecurityDescriptorSize = 0; if (!MakeSelfRelativeSD(SecurityDescriptor, 0, &SecurityDescriptorSize)) { SecurityDescriptorBuf = malloc(SecurityDescriptorSize);