[issue27549] Integer Overflow Crash On bytearray()

2016-07-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See msg270712. -- nosy: +serhiy.storchaka resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___

[issue27549] Integer Overflow Crash On bytearray()

2016-07-17 Thread Xiang Zhang
Xiang Zhang added the comment: So if it doesn't return an overflow message, what does it returns? -- nosy: +xiang.zhang ___ Python tracker ___ ___

[issue27549] Integer Overflow Crash On bytearray()

2016-07-17 Thread pablo sacristan
New submission from pablo sacristan: There is an integer overflow because python doesn't check the length correctly on bytearray: bytearray(0xFFF**100**8) That will not return an overflow message, and even though my hex knowledge is very bad I do believe 0xFF