~mdw
/
catacomb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
366e970
)
math/mpmont.c (mpmont_reduce): Segfault if Karatsuba product is short.
author
Mark Wooding
<mwooding@good.com>
Fri, 10 Apr 2015 14:19:25 +0000
(15:19 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Wed, 22 Apr 2015 09:56:05 +0000
(10:56 +0100)
In the Karatsuba branch, it's possible (e.g., if the input is actually
zero) that the result is short. A later `MP_LEN(d) - n' then underflows
causing general badness. Make sure the result is actually long enough.
No differences found