Files
coreutils/tests
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-01 10:56:16 -08:00
2026-11-13 18:27:05 -08:00
2026-01-01 10:56:16 -08:00
2026-01-01 10:56:16 -08:00
2026-11-10 20:30:37 +00:00
2026-01-01 10:56:16 -08:00
2026-01-01 10:56:16 -08:00
2026-01-01 10:56:16 -08:00
2026-01-01 10:56:16 -08:00