New submission from Philipp Gesang <philipp.ges...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue39510>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to