Commit f6d5a38d authored by Mark Hammond's avatar Mark Hammond

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.
parent d89dc09b
......@@ -321,7 +321,7 @@ getpythonregpath(HKEY keyBase, int skipcore)
if (retval)
WideCharToMultiByte(CP_ACP, 0,
dataBuf, -1, /* source */
retval, dataSize+1, /* dest */
retval, reqdSize+1, /* dest */
NULL, NULL);
free(dataBuf);
#else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment