mirror of
https://github.com/winfsp/winfsp.git
synced 2026-11-08 01:56:40 -06:00
Fix: fix FspPosixMapPosixToWindowsPathEx pointer misuse
This commit is contained in:
1 parent
ddca7bd548
commit
7e861c30ac
1 file changed
+1
-1
@@ -1416,7 +1416,7 @@ FSP_API NTSTATUS FspPosixMapPosixToWindowsPathEx(const char *PosixPath, PWSTR *P
|
||||
goto lasterror;
|
||||
|
||||
WindowsPath = MemAlloc(Size * sizeof(WCHAR));
|
||||
if (0 == PosixPath)
|
||||
if (0 == WindowsPath)
|
||||
{
|
||||
Result = STATUS_INSUFFICIENT_RESOURCES;
|
||||
goto exit;
|
||||
|
||||
Reference in new issue
Block a user