Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 61bb35f

Browse files
committed
Fix [ 583477 ] wrong dest size.
Note this code is not used by the core on Win32, but in a block used only by Windows CE.
1 parent ba884f3 commit 61bb35f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PC/getpathp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ getpythonregpath(HKEY keyBase, int skipcore)
321321
if (retval)
322322
WideCharToMultiByte(CP_ACP, 0,
323323
dataBuf, -1, /* source */
324-
retval, dataSize+1, /* dest */
324+
retval, reqdSize+1, /* dest */
325325
NULL, NULL);
326326
free(dataBuf);
327327
#else

0 commit comments

Comments
 (0)