mirror of
https://github.com/winfsp/winfsp.git
synced 2025-10-30 03:28:38 -05:00
Fix: fix FspPosixMapPosixToWindowsPathEx pointer misuse
This commit is contained in:
@@ -1416,7 +1416,7 @@ FSP_API NTSTATUS FspPosixMapPosixToWindowsPathEx(const char *PosixPath, PWSTR *P
|
|||||||
goto lasterror;
|
goto lasterror;
|
||||||
|
|
||||||
WindowsPath = MemAlloc(Size * sizeof(WCHAR));
|
WindowsPath = MemAlloc(Size * sizeof(WCHAR));
|
||||||
if (0 == PosixPath)
|
if (0 == WindowsPath)
|
||||||
{
|
{
|
||||||
Result = STATUS_INSUFFICIENT_RESOURCES;
|
Result = STATUS_INSUFFICIENT_RESOURCES;
|
||||||
goto exit;
|
goto exit;
|
||||||
|
|||||||
Reference in New Issue
Block a user