[issue36289] [2.7] Coverity scan: Modules/_io/bufferedio.c leaked_storage: Variable "data" going out of scope leaks the storage it points to.

STINNER Victor report at bugs.python.org
Thu Mar 14 11:37:29 EDT 2019


STINNER Victor <vstinner at redhat.com> added the comment:

Thanks Charalampos, I merged your PR.

Python 3.7 and master are not affected: _bufferedreader_read_all() has been refactored to add a "cleanup" label which clears all local data including the 'data' variable.

----------
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36289>
_______________________________________


More information about the Python-bugs-list mailing list