[issue18344] _bufferedreader_read_all() may leak reference to data

2013-07-15 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- resolution: -> fixed stage: needs patch -> committed/rejected ___ Python tracker ___ ___ Python-bugs-

[issue18344] _bufferedreader_read_all() may leak reference to data

2013-07-15 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue18344] _bufferedreader_read_all() may leak reference to data

2013-07-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9ce863993a38 by Richard Oudkerk in branch '3.3': Issue #18344: Fix potential ref-leaks in _bufferedreader_read_all(). http://hg.python.org/cpython/rev/9ce863993a38 New changeset 9b041f44cb63 by Richard Oudkerk in branch 'default': Issue #18344: Fix

[issue18344] _bufferedreader_read_all() may leak reference to data

2013-07-02 Thread Richard Oudkerk
Richard Oudkerk added the comment: Patch attached. -- keywords: +patch Added file: http://bugs.python.org/file30748/buf-readall.patch ___ Python tracker ___ _

[issue18344] _bufferedreader_read_all() may leak reference to data

2013-07-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue18344] _bufferedreader_read_all() may leak reference to data

2013-07-01 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +pitrou, sbt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue18344] _bufferedreader_read_all() may leak reference to data

2013-07-01 Thread Christian Heimes
New submission from Christian Heimes: Modules/_io/bufferedio.c:_bufferedreader_read_all() doesn't call Py_XDECREF(data) multiple times and may leak a reference in an error case. For example the ref leak occurs when current_size > 0 and PyObject_CallMethodObjArgs(self->raw, _PyIO_str_readall, N