Author skrah
Recipients georg.brandl, mark.dickinson, nitishch, serhiy.storchaka, skrah
Date 2017-09-29.17:49:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1506707383.9.0.213398074469.issue31619@psf.upfronthosting.co.za>
In-reply-to
Content
> We see if digits * bits_per_char + PyLong_SHIFT -1 overflows an int?

Yes, but the check is too late: UB can already occur in this calculation
and then all bets are off.


It looks like 'n' was Py_ssize_t in 2.7. :)
History
Date User Action Args
2017-09-29 17:49:43skrahsetrecipients: + skrah, georg.brandl, mark.dickinson, serhiy.storchaka, nitishch
2017-09-29 17:49:43skrahsetmessageid: <1506707383.9.0.213398074469.issue31619@psf.upfronthosting.co.za>
2017-09-29 17:49:43skrahlinkissue31619 messages
2017-09-29 17:49:43skrahcreate