Collin Funk
8121423eda
pr: fix an infinite loop with a page of leading tabs and small columns
...
* src/pr.c: Continue processing if the line is truncated instead of
returning early. Return after handling headers, line numbers, etc., but
before printing the truncated clump.
* tests/pr/inf-loop.sh: New file.
* tests/local.mk (all_tests): Add the new test case.
* NEWS: Mention the bug fix.
Discovered by Anthropic's OSS Scanner, as bug ANT-2026-TMZPQ2AH.
2026-11-07 11:48:00 -08:00
..
2001-03-17 08:49:25 +00:00
2001-03-17 08:49:25 +00:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2001-03-17 08:49:25 +00:00
2007-07-04 12:45:10 +02:00
2001-03-17 08:49:25 +00:00
2001-03-17 08:49:25 +00:00
2007-07-04 12:45:10 +02:00
2001-03-17 08:49:25 +00:00
2007-07-04 12:45:10 +02:00
2001-03-17 08:49:25 +00:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2001-03-17 08:49:25 +00:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2001-03-17 08:49:25 +00:00
2007-07-04 12:45:10 +02:00
2001-03-17 08:49:25 +00:00
2001-03-17 08:49:25 +00:00
2001-03-17 08:49:25 +00:00
2007-07-04 12:45:10 +02:00
2001-03-17 08:49:25 +00:00
2001-03-17 08:49:25 +00:00
2001-03-17 08:49:25 +00:00
2001-03-17 08:49:25 +00:00
2001-03-17 08:49:25 +00:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2001-03-17 08:49:25 +00:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2001-03-17 08:49:25 +00:00
2001-03-17 08:49:25 +00:00
2001-03-17 08:49:25 +00:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2001-03-17 08:49:25 +00:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2026-04-15 15:08:27 +01:00
2001-03-17 08:49:25 +00:00
2026-11-07 11:48:00 -08:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2001-03-17 08:49:25 +00:00
2001-03-17 08:49:25 +00:00
2007-07-04 12:45:10 +02:00
2001-03-17 08:49:25 +00:00
2001-03-17 08:49:25 +00:00
2001-03-17 08:49:25 +00:00
2001-03-17 08:49:25 +00:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2001-03-17 08:49:25 +00:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2001-03-17 08:49:25 +00:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2001-03-17 08:49:25 +00:00
2007-07-04 12:45:10 +02:00
2001-03-17 08:49:25 +00:00
2001-03-17 08:49:25 +00:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2009-03-07 23:52:08 +01:00
2009-03-07 23:52:08 +01:00
2009-03-07 23:52:08 +01:00
2009-03-07 23:52:08 +01:00
2009-03-07 23:52:08 +01:00
2009-03-07 23:52:08 +01:00
2009-03-07 23:52:08 +01:00
2009-03-07 23:52:08 +01:00
2009-03-07 23:52:08 +01:00
2009-03-07 23:52:08 +01:00
2026-10-11 15:25:16 +01:00
2026-01-01 10:56:16 -08:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
2007-07-04 12:45:10 +02:00
2010-01-06 21:07:23 -07:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00
2007-07-04 12:45:10 +02:00