[Python-bugs-list] [ python-Bugs-583477 ] wrong dest size
SourceForge.net
noreply@sourceforge.net
Wed, 29 Jan 2003 14:44:36 -0800
Bugs item #583477, was opened at 2002-07-19 04:35
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=583477&group_id=5470
Category: Unicode
Group: Python 2.2.1
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Doug Marien (dougslug)
Assigned to: Mark Hammond (mhammond)
Summary: wrong dest size
Initial Comment:
OS: nt (win2k)
In getpathp.c on line 325 in the call to
WideCharToMultiByte(), the destination size should be
reqdSize+1 and not dataSize+1.
----------------------------------------------------------------------
>Comment By: Mark Hammond (mhammond)
Date: 2003-01-30 09:44
Message:
Logged In: YES
user_id=14198
Fixed:
Checking in getpathp.c;
/cvsroot/python/python/dist/src/PC/getpathp.c,v <-- getpathp.c
new revision: 1.31; previous revision: 1.30
Note however that this code block was only used by Windows
CE builds, not by the standard core build.
----------------------------------------------------------------------
Comment By: Neal Norwitz (nnorwitz)
Date: 2003-01-29 13:22
Message:
Logged In: YES
user_id=33168
Mark, I'm just pinging you. The suggestion looks like it
could be correct.
----------------------------------------------------------------------
Comment By: M.-A. Lemburg (lemburg)
Date: 2002-07-27 02:33
Message:
Logged In: YES
user_id=38388
Passed on to Mark ...
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=583477&group_id=5470