diff options
Diffstat (limited to 'PC')
-rw-r--r-- | PC/getpathp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/getpathp.c b/PC/getpathp.c index 7d53fbd..4d71fe7 100644 --- a/PC/getpathp.c +++ b/PC/getpathp.c @@ -197,7 +197,7 @@ join(wchar_t *buffer, const wchar_t *stuff) if (FAILED(_PathCchCombineEx(buffer, MAXPATHLEN+1, buffer, stuff, 0))) Py_FatalError("buffer overflow in getpathp.c's join()"); } else { - if (!PathCombineW(buffer, NULL, stuff)) + if (!PathCombineW(buffer, buffer, stuff)) Py_FatalError("buffer overflow in getpathp.c's join()"); } } |