mirror of
https://github.com/python/cpython.git
synced 2025-11-02 19:12:55 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -321,7 +321,7 @@ getpythonregpath(HKEY keyBase, int skipcore)
|
||||||
if (retval)
|
if (retval)
|
||||||
WideCharToMultiByte(CP_ACP, 0,
|
WideCharToMultiByte(CP_ACP, 0,
|
||||||
dataBuf, -1, /* source */
|
dataBuf, -1, /* source */
|
||||||
retval, dataSize+1, /* dest */
|
retval, reqdSize+1, /* dest */
|
||||||
NULL, NULL);
|
NULL, NULL);
|
||||||
free(dataBuf);
|
free(dataBuf);
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue