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 xiang.zhang
Recipients serhiy.storchaka, xiang.zhang
Date 2016-07-13.17:12:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:28xiang.zhangsetrecipients: + xiang.zhang, serhiy.storchaka
2016-07-13 17:12:28xiang.zhangsetmessageid: <>
2016-07-13 17:12:28xiang.zhanglinkissue27507 messages
2016-07-13 17:12:28xiang.zhangcreate