[issue24989] scan_eol() Buffer Over-read
Serhiy Storchaka
report at bugs.python.org
Thu Sep 3 08:10:40 CEST 2015
Serhiy Storchaka added the comment:
It should be self->string_size, not PyBytes_GET_SIZE(self->buf).
Thank you for your report and your patch John. Here is revised patch with tests based on Martin's test.
Larry, perhaps this bug is grave enough to be fixed in RC3.
----------
components: +Extension Modules, IO
stage: -> patch review
Added file: http://bugs.python.org/file40330/scan_eol_Buffer_Over-read_2.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24989>
_______________________________________
More information about the Python-bugs-list
mailing list