]> git.ipfire.org Git - thirdparty/coreutils.git/commit
factor: fix infinite loop in gcd2_odd
authorNiels Möller <nisse@lysator.liu.se>
Thu, 8 Dec 2016 09:48:50 +0000 (09:48 +0000)
committerPádraig Brady <P@draigBrady.com>
Thu, 8 Dec 2016 10:10:34 +0000 (10:10 +0000)
commitc44da115063bfea7ef8b2afd1c9d52737e2b7f70
treec90c88e701c97f5272917e60a553cbcd0c40956f
parent11c1b73c1b386a098e5e18af864591541b63d7bf
factor: fix infinite loop in gcd2_odd

* src/factor.c (gcd2_odd): Fix the case a1 == 0, a0 == 0.
* NEWS: Mention the bug fix.
Fixes http://bugs.gnu.org/25135
NEWS
src/factor.c
tests/misc/factor.pl