commit | 3ceb573a720b8b9c9148135c64ba966fa37e3a92 | [log] [tgz] |
---|---|---|
author | Steve Dower <steve.dower@microsoft.com> | Fri Sep 09 15:53:58 2016 -0700 |
committer | Steve Dower <steve.dower@microsoft.com> | Fri Sep 09 15:53:58 2016 -0700 |
tree | dfad9dbcc6debe117fcc26eb8d84a592fa689025 | |
parent | c30767239569d0a3e84c113070ec1009b1a5f3a7 [diff] |
Fix call to PathCombineW.
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 @@ 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()"); } }