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.
This commit is contained in:
parent
ba884f3d22
commit
61bb35f440
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue