Benjamin Peterson added the comment:
As Serhiy has noted on other bugs, the fact that the tests must be restricted
to 32-bits limits their usefulness unfortunately.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python
STINNER Victor added the comment:
It would be nice to add a bigmem test to check that repr('\x00'*(2**30+1))
doesn't crash anymore.
--
nosy: +haypo
resolution: fixed -
status: closed - open
___
Python tracker rep...@bugs.python.org
Changes by STINNER Victor victor.stin...@gmail.com:
--
type: crash - security
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22520
___
___
New submission from paul:
# unicode_repr(PyObject *unicode)
# {
# ...
# 1 isize = PyUnicode_GET_LENGTH(unicode);
# idata = PyUnicode_DATA(unicode);
#
# /* Compute length of output, quote characters, and
#maximum character */
# osize = 0;
# ...
# for (i = 0; i
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22520
___
Changes by Benjamin Peterson benja...@python.org:
--
versions: +Python 3.3, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22520
___
___
Roundup Robot added the comment:
New changeset 8ba7e5f43952 by Benjamin Peterson in branch '3.3':
prevent overflow in unicode_repr (closes #22520)
https://hg.python.org/cpython/rev/8ba7e5f43952
New changeset 6f54dfa675eb by Benjamin Peterson in branch '3.4':
merge 3.3 (#22520)