[New-bugs-announce] [issue39510] use-after-free in BufferedReader.readinto()

Philipp Gesang report at bugs.python.org
Fri Jan 31 10:19:52 EST 2020


New submission from Philipp Gesang <philipp.gesang at intra2net.com>:

reader = open ("/dev/zero", "rb")
    _void  = reader.read (42)
    reader.close ()
    reader.readinto (bytearray (42)) ### BANG!

Bisected to commit dc469454ec. PR on Github to follow.

----------
messages: 361119
nosy: phg
priority: normal
severity: normal
status: open
title: use-after-free in BufferedReader.readinto()

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


More information about the New-bugs-announce mailing list