From 5e1745ebfb2d19c6522f74992f3835f25f20d7bb Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Fri, 25 Oct 2024 11:59:29 -0500 Subject: [PATCH] fix --- repertory/librepertory/src/drives/winfsp/winfsp_drive.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/repertory/librepertory/src/drives/winfsp/winfsp_drive.cpp b/repertory/librepertory/src/drives/winfsp/winfsp_drive.cpp index 915f3f41..d502b169 100644 --- a/repertory/librepertory/src/drives/winfsp/winfsp_drive.cpp +++ b/repertory/librepertory/src/drives/winfsp/winfsp_drive.cpp @@ -286,6 +286,7 @@ auto winfsp_drive::Create(PWSTR file_name, UINT32 create_options, UINT64 /*allocation_size*/, PVOID * /*file_node*/, PVOID *file_desc, OpenFileInfo *ofi) -> NTSTATUS { REPERTORY_USES_FUNCTION_NAME(); + *file_desc = reinterpret_cast(INVALID_HANDLE_VALUE); // TODO Need to revisit this // (ConvertSecurityDescriptorToStringSecurityDescriptor/ConvertStringSecurityDescriptorToSecurityDescriptor)