[issue22519] integer overflow in computing byte's object representation

2016-09-24 Thread Christian Heimes
Christian Heimes added the comment: The code doesn't crash any more. It took me more than 5 GB of resident memory and about 90 CPU seconds to reproduce the circumstances of the overflow. -- nosy: +christian.heimes resolution: -> fixed status: open -> closed type: security -> behavior

[issue22519] integer overflow in computing byte's object representation

2014-09-30 Thread STINNER Victor
Changes by STINNER Victor : -- type: crash -> security ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue22519] integer overflow in computing byte's object representation

2014-09-30 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: fixed -> status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue22519] integer overflow in computing byte's object representation

2014-09-30 Thread STINNER Victor
STINNER Victor added the comment: It would be nice to have a "bigmem" test checking that repr(b'\x00'*(2**30+1)) doesn't crash anymore. -- nosy: +haypo ___ Python tracker ___ __

[issue22519] integer overflow in computing byte's object representation

2014-09-29 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- versions: +Python 2.7, Python 3.3, Python 3.5 ___ Python tracker ___ ___ Python-bu

[issue22519] integer overflow in computing byte's object representation

2014-09-29 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue22519] integer overflow in computing byte's object representation

2014-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset d9cd11eda152 by Benjamin Peterson in branch '2.7': fix overflow checking in PyString_Repr (closes #22519) https://hg.python.org/cpython/rev/d9cd11eda152 New changeset f5c662a7f7e6 by Benjamin Peterson in branch '3.3': fix overflow checking in PyByte

[issue22519] integer overflow in computing byte's object representation

2014-09-29 Thread paul
New submission from paul: # PyBytes_Repr(PyObject *obj, int smartquotes) # { # PyBytesObject* op = (PyBytesObject*) obj; # 1 Py_ssize_t i, length = Py_SIZE(op); # size_t newsize, squotes, dquotes; # ... # # /* Compute size of output string */ # newsize = 3; /* b'' */ #