Author serhiy.storchaka
Recipients mark.dickinson, rhettinger, serhiy.storchaka, skrah
Date 2015-07-12.20:03:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1436731419.9.0.459570638121.issue24620@psf.upfronthosting.co.za>
In-reply-to
Content
But I can reproduce the crash with other example.

import random
random.setstate((3, (1,)*624+(-10**9,), None))
random.random()

The index attribute can be set to negative value and this causes reading out of the buffer.

Here is a patch that fixes this.
History
Date User Action Args
2015-07-12 20:03:39serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, mark.dickinson, skrah
2015-07-12 20:03:39serhiy.storchakasetmessageid: <1436731419.9.0.459570638121.issue24620@psf.upfronthosting.co.za>
2015-07-12 20:03:39serhiy.storchakalinkissue24620 messages
2015-07-12 20:03:39serhiy.storchakacreate