- Notifications
You must be signed in to change notification settings - Fork5
Commit80be419
committed
Fix possible internal overflow in numeric division.
div_var_fast() postpones propagating carries in the same way as mul_var(),so it has the same corner-case overflow risk we fixed in246693e,namely that the size of the carries has to be accounted for when settingthe threshold for executing a carry propagation step. We've not deviseda test case illustrating the brokenness, but the required fix seems clearenough. Like the previous fix, back-patch to all active branches.Dean Rasheed1 parent331828b commit80be419
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6260 | 6260 | | |
6261 | 6261 | | |
6262 | 6262 | | |
6263 | | - | |
6264 | | - | |
| 6263 | + | |
| 6264 | + | |
| 6265 | + | |
| 6266 | + | |
| 6267 | + | |
| 6268 | + | |
| 6269 | + | |
| 6270 | + | |
6265 | 6271 | | |
6266 | 6272 | | |
6267 | 6273 | | |
| |||
6287 | 6293 | | |
6288 | 6294 | | |
6289 | 6295 | | |
6290 | | - | |
| 6296 | + | |
6291 | 6297 | | |
6292 | 6298 | | |
6293 | 6299 | | |
| |||
0 commit comments
Comments
(0)