Message149674
> 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:08 | vstinner | set | recipients:
+ vstinner, mark.dickinson, pitrou, neologix, Ramchandra Apte, phillies |
2011-12-17 16:24:08 | vstinner | set | messageid: <1324139048.83.0.139382887085.issue13555@psf.upfronthosting.co.za> |
2011-12-17 16:24:08 | vstinner | link | issue13555 messages |
2011-12-17 16:24:08 | vstinner | create | |
|