Files
coreutils/src
Collin Funk 89a7510051 head: fix two bugs when eliding bytes from a pipe
* src/head.c (elide_tail_bytes_pipe): Don't set REM to BUFSIZ when the
REMAINDER is zero. Don't assume the input is longer than the given
number of bytes.
* tests/head/head-elide-tail.pl ($HEAD_TAIL_PIPE_BYTECOUNT_THRESHOLD)
($MULTIPLE, $FRACTION): New variables.
(@Tests): Add a few test cases for the bugs.
* NEWS: Mention the bug fixes.

Discovered by Anthropic's OSS Scanner, as bug ANT-2026-BMLRFV62.
2026-11-16 15:47:15 -08:00
..
2026-01-18 15:55:38 +00:00
2026-01-18 15:55:38 +00:00
2026-02-27 16:18:32 -08:00
2026-02-27 16:18:32 -08:00
2026-04-22 19:12:44 -07:00
2026-05-10 23:42:26 -07:00
2026-01-01 10:56:16 -08:00
2026-11-13 18:27:05 -08:00
2026-01-01 10:56:16 -08:00
2026-08-01 12:38:28 +01:00
2026-10-23 14:08:24 +01:00
2026-10-07 12:33:44 +01:00
2026-01-18 15:55:38 +00:00
2026-01-18 15:55:38 +00:00
2026-02-27 16:18:32 -08:00
2026-01-01 10:56:16 -08:00
2026-01-18 15:55:38 +00:00
2025-05-12 01:28:48 -07:00
2026-06-07 16:43:50 -07:00
2026-01-01 10:56:16 -08:00
2026-01-01 10:56:16 -08:00
2026-01-18 15:55:38 +00:00
2026-01-01 10:56:16 -08:00
2026-01-01 10:56:16 -08:00
2026-04-16 22:05:13 +01:00
2026-01-01 10:56:16 -08:00
2026-02-27 16:18:32 -08:00
2026-02-27 16:18:32 -08:00
2026-01-18 15:55:38 +00:00
2026-01-18 15:55:38 +00:00
2026-01-01 10:56:16 -08:00
2026-07-26 12:44:01 -07:00
2026-04-08 22:34:13 -07:00
2026-02-19 20:35:19 -08:00
2026-10-23 14:08:24 +01:00
2026-07-20 19:46:41 +01:00
2026-01-01 10:56:16 -08:00
2026-01-01 10:56:16 -08:00
2026-10-07 23:26:45 -07:00