[issue18560] builtin_sum() doesn't check return value of PyLong_FromLong()

2018-08-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: Backported to 2.7 in 67dafd5c202cd529e209bf3f35e022ce766709eb. (I messed up the commit message.) -- nosy: +benjamin.peterson versions: +Python 2.7 ___ Python tracker ___

[issue18560] builtin_sum() doesn't check return value of PyLong_FromLong()

2018-08-23 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +8365 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue18560] builtin_sum() doesn't check return value of PyLong_FromLong()

2013-07-26 Thread Christian Heimes
Christian Heimes added the comment: Thanks again! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue18560] builtin_sum() doesn't check return value of PyLong_FromLong()

2013-07-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset de7e4fd634fb by Christian Heimes in branch '3.3': Issue #18560: Fix potential NULL pointer dereference in sum() http://hg.python.org/cpython/rev/de7e4fd634fb New changeset a5d9e2f3f6c7 by Christian Heimes in branch 'default': Issue #18560: Fix poten

[issue18560] builtin_sum() doesn't check return value of PyLong_FromLong()

2013-07-26 Thread STINNER Victor
STINNER Victor added the comment: The patch looks good to me. -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue18560] builtin_sum() doesn't check return value of PyLong_FromLong()

2013-07-26 Thread Christian Heimes
New submission from Christian Heimes: 2032result = PyLong_FromLong(i_result); CID 1058287 (#1 of 1): Dereference null return value (NULL_RETURNS) 34. dereference: Dereferencing a pointer that might be null "result" when calling "PyNumber_Add(PyObject *, PyObject *)". [show details] 2