[Python-Dev] Re: python/dist/src/Objects unicodeobject.c, 2.228, 2.229

Fredrik Lundh fredrik at pythonware.com
Fri Oct 15 10:04:20 CEST 2004

> Applied patch for [ 1047269 ] Buffer overwrite in PyUnicode_AsWideChar.
> Python 2.3.x candidate.

why bother?

the unicode object you're copying to holds size+1 characters, so all the
code does is copying an extra NULL character...  completely harmless.


More information about the Python-Dev mailing list