William Bowling added the comment:
Also a very similar source causes a slightly different crash
(heap-buffer-overflow instead of heap-use-after-free):
./python -c 'with open("vuln2.py", "wb") as f:
f.write(b"\x61\x73\x00\x0a\x79\x6e\x63\x5c\x0a\x00\x0d\xdd")'
./python vuln2.py
Python 3.5.1+ (default, Jan 4 2016, 00:05:40)
Attached the asan report
----------
Added file: http://bugs.python.org/file41487/asan2.txt
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue26000>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com