]> granicus.if.org Git - python/commit
SF Bug #1454485, array.array('u') could crash the interpreter when
authorNeal Norwitz <nnorwitz@gmail.com>
Fri, 14 Apr 2006 05:20:28 +0000 (05:20 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Fri, 14 Apr 2006 05:20:28 +0000 (05:20 +0000)
commit615461603c3d81a80285299fc3a0dc47d2858864
tree988837317073d07610230ed8e56c43c17837176a
parent384178c12d1718cca0b1e84fc85ad2f8d50773ec
SF Bug #1454485, array.array('u') could crash the interpreter when
passing a string.  Martin already fixed the actual crash by ensuring
Py_UNICODE is unsigned.  As discussed on python-dev, this fix
removes the possibility of creating a unicode string from a raw buffer.

There is an outstanding question of how to fix the crash in 2.4.
Misc/NEWS
Python/getargs.c