[issue22520] integer overflow in computing unicode's object representation

2014-12-10 Thread Benjamin Peterson
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

[issue22520] integer overflow in computing unicode's object representation

2014-09-30 Thread STINNER Victor
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

[issue22520] integer overflow in computing unicode's object representation

2014-09-30 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- type: crash - security ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22520 ___ ___

[issue22520] integer overflow in computing unicode's object representation

2014-09-29 Thread paul
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

[issue22520] integer overflow in computing unicode's object representation

2014-09-29 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22520 ___

[issue22520] integer overflow in computing unicode's object representation

2014-09-29 Thread Benjamin Peterson
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 ___ ___

[issue22520] integer overflow in computing unicode's object representation

2014-09-29 Thread Roundup Robot
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)