Message270327
As the title, bytearray.extend simply use `buf_size = len + (len >> 1) + 1;` to determine next *buf_size* when increasing buffer. But this can overflow in theory. So I suggest adding overflow check. |
|
Date |
User |
Action |
Args |
2016-07-13 17:12:28 | xiang.zhang | set | recipients:
+ xiang.zhang, serhiy.storchaka |
2016-07-13 17:12:28 | xiang.zhang | set | messageid: <1468429948.12.0.767304648411.issue27507@psf.upfronthosting.co.za> |
2016-07-13 17:12:28 | xiang.zhang | link | issue27507 messages |
2016-07-13 17:12:28 | xiang.zhang | create | |
|