This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: wrong dest size
Type: Stage:
Components: Unicode Versions: Python 2.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: mhammond Nosy List: dougslug, lemburg, mhammond, nnorwitz
Priority: normal Keywords:

Created on 2002-07-18 18:35 by dougslug, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Messages (4)
msg11613 - (view) Author: Doug Marien (dougslug) Date: 2002-07-18 18:35
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.
msg11614 - (view) Author: Marc-Andre Lemburg (lemburg) * (Python committer) Date: 2002-07-26 16:33
Logged In: YES 
user_id=38388

Passed on to Mark ...
msg11615 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2003-01-29 02:22
Logged In: YES 
user_id=33168

Mark, I'm just pinging you.  The suggestion looks like it
could be correct.
msg11616 - (view) Author: Mark Hammond (mhammond) * (Python committer) Date: 2003-01-29 22:44
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.
History
Date User Action Args
2022-04-10 16:05:30adminsetgithub: 36910
2002-07-18 18:35:59dougslugcreate