[issue23369] integer overflow in _json.encode_basestring_ascii

2016-08-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6fa0ebfdc136 by Benjamin Peterson in branch '2.7': fix possible overflow in encode_basestring_ascii (#23369) https://hg.python.org/cpython/rev/6fa0ebfdc136 -- ___ Python tracker

[issue23369] integer overflow in _json.encode_basestring_ascii

2016-08-08 Thread immerse
immerse added the comment: I noticed that this is only fixed for python 3.3 and 3.4, not for 2.7. Is that intentional? If so, why? -- nosy: +immerse -pkt ___ Python tracker ___

[issue23369] integer overflow in _json.encode_basestring_ascii

2015-02-03 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- versions: +Python 3.3, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mail

[issue23369] integer overflow in _json.encode_basestring_ascii

2015-02-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5c730d30ffbc by Benjamin Peterson in branch '3.3': reduce memory usage of test (closes #23369) https://hg.python.org/cpython/rev/5c730d30ffbc -- status: open -> closed ___ Python tracker

[issue23369] integer overflow in _json.encode_basestring_ascii

2015-02-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: "\u"*((2**32)//6 + 1) is calculated at compile time. This requires much memory and can cause swapping. May be this was a cause of failing tests on some buildbots: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.x%203.x/builds/2623/steps/test/

[issue23369] integer overflow in _json.encode_basestring_ascii

2015-02-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8699b3085db3 by Benjamin Peterson in branch '3.3': fix possible overflow in encode_basestring_ascii (closes #23369) https://hg.python.org/cpython/rev/8699b3085db3 New changeset 4f47509d7417 by Benjamin Peterson in branch '3.4': merge 3.3 (#23369) ht

[issue23369] integer overflow in _json.encode_basestring_ascii

2015-02-01 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue23369] integer overflow in _json.encode_basestring_ascii

2015-02-01 Thread paul
New submission from paul: # static PyObject * # ascii_escape_unicode(PyObject *pystr) # { # ... # # input_chars = PyUnicode_GET_LENGTH(pystr); # input = PyUnicode_DATA(pystr); # kind = PyUnicode_KIND(pystr); # # /* Compute the output size */ # for (i = 0, output_size = 2