mirror of
https://github.com/coreutils/coreutils.git
synced 2026-10-29 02:04:34 +08:00
* src/factor.c (mulredc2): Add the carry to p1, which is the high word of a two-word integer created by summing two single-word integers and is therefore unable to overflow, instead of using a low word r0, which may wrap around by adding the carry. * tests/factor/mulredc2-infloop.sh: New file. * tests/local.mk (all_tests): Add the new test. * NEWS: Mention the bug fix. Discovered by Anthropic's OSS Scanner, as bug ANT-2026-CFUR0JKW.