This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Ramchandra Apte, mark.dickinson, neologix, phillies, pitrou, vstinner
Date 2011-12-17.16:24:08
SpamBayes Score 0.000348887
Marked as misclassified No
Message-id <>
> Should we fix this (Py_ssize_t, overflow check before computation), as in #11564?

Yes. Use Py_ssize_t type for the buf_size attribute, and replace "bigger <= 0" (test if an overflow occurred) by "self->buf_size > (PY_SSIZE_T_MAX >> 1)".
Date User Action Args
2011-12-17 16:24:08vstinnersetrecipients: + vstinner, mark.dickinson, pitrou, neologix, Ramchandra Apte, phillies
2011-12-17 16:24:08vstinnersetmessageid: <>
2011-12-17 16:24:08vstinnerlinkissue13555 messages
2011-12-17 16:24:08vstinnercreate