From 61bb35f440773d5c67f4054c5148be299232cba3 Mon Sep 17 00:00:00 2001 From: Mark Hammond Date: Wed, 29 Jan 2003 22:38:29 +0000 Subject: [PATCH] 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. --- PC/getpathp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PC/getpathp.c b/PC/getpathp.c index ed0a7555223..d61d3ea5caf 100644 --- a/PC/getpathp.c +++ b/PC/getpathp.c @@ -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