Message227916
> This is correct. This check prevents overflow.
Oh, I didn't understand that "requiredsize = 2*outsize;" is only used for performances, to overallocate the buffer. So I agree that it's fine to not overallocate if it would overflow. |
|
Date |
User |
Action |
Args |
2014-09-30 13:39:24 | vstinner | set | recipients:
+ vstinner, Arfrever, python-dev, serhiy.storchaka, pkt |
2014-09-30 13:39:24 | vstinner | set | messageid: <1412084364.73.0.608966187299.issue22518@psf.upfronthosting.co.za> |
2014-09-30 13:39:24 | vstinner | link | issue22518 messages |
2014-09-30 13:39:24 | vstinner | create | |
|