Message303347
> 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. :) |
|
Date |
User |
Action |
Args |
2017-09-29 17:49:43 | skrah | set | recipients:
+ skrah, georg.brandl, mark.dickinson, serhiy.storchaka, nitishch |
2017-09-29 17:49:43 | skrah | set | messageid: <1506707383.9.0.213398074469.issue31619@psf.upfronthosting.co.za> |
2017-09-29 17:49:43 | skrah | link | issue31619 messages |
2017-09-29 17:49:43 | skrah | create | |
|