diff --git a/Contributors.asciidoc b/Contributors.asciidoc index 204905c6..2d42dac6 100644 --- a/Contributors.asciidoc +++ b/Contributors.asciidoc @@ -76,4 +76,5 @@ CONTRIBUTOR LIST |Tobias Urlaub |saibotu at outlook.de |Victor Gao |victgm at outlook.com |Zeho Huang |zeho11 at protonmail.com +|Zhangfen Duan |lzcgwushuang at 163.com |=== diff --git a/src/shared/ku/posix.c b/src/shared/ku/posix.c index 8959ab54..5dd5fe57 100644 --- a/src/shared/ku/posix.c +++ b/src/shared/ku/posix.c @@ -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;