Message232362
I would think that the PY_SSIZE_T_MAX check belongs inside the:
if (result != NULL) {
it->it_index++;
return result;
}
just before the increment which could cause the overflow. Also, PY_SSIZE_T_MAX is a valid value to pass to PySequence_GetItem(), so it shouldn't be blocked unless necessary. |
|
Date |
User |
Action |
Args |
2014-12-09 10:32:32 | rhettinger | set | recipients:
+ rhettinger, mark.dickinson, vstinner, r.david.murray, serhiy.storchaka, hakril |
2014-12-09 10:32:32 | rhettinger | set | messageid: <1418121152.68.0.614991496608.issue22939@psf.upfronthosting.co.za> |
2014-12-09 10:32:32 | rhettinger | link | issue22939 messages |
2014-12-09 10:32:32 | rhettinger | create | |
|