Title: Integer Overflow Crash On Arithmetic Operations
Type: Stage: resolved
Components: Versions: Python 3.6, Python 3.5
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: pabstersac, serhiy.storchaka
Priority: normal Keywords:

Created on 2016-07-18 05:56 by pabstersac, last changed 2016-07-18 06:31 by serhiy.storchaka. This issue is now closed.

Messages (2)
msg270704 - (view) Author: pablo sacristan (pabstersac) Date: 2016-07-18 05:56
There is an integer overflow because python doesn't check the length correctly on arithmetic operations:

Just that line will freeze python, no oveflow message appears, no memory error, and python basically crashes because it just stops working.
Hope it helps ;)
msg270722 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2016-07-18 06:31
See msg270712.
Date User Action Args
2016-07-18 06:31:01serhiy.storchakasetnosy: + serhiy.storchaka
messages: + msg270722
2016-07-18 06:30:51serhiy.storchakasetstatus: open -> closed
resolution: not a bug
stage: resolved
2016-07-18 05:56:32pabstersaccreate