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 <1468429948.12.0.767304648411.issue27507@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-07-13 17:12:28xiang.zhangsetrecipients: + xiang.zhang, serhiy.storchaka
2016-07-13 17:12:28xiang.zhangsetmessageid: <1468429948.12.0.767304648411.issue27507@psf.upfronthosting.co.za>
2016-07-13 17:12:28xiang.zhanglinkissue27507 messages
2016-07-13 17:12:28xiang.zhangcreate