Pádraig Brady <[email protected]> writes:

> On 18/11/2026 06:26, Collin Funk wrote:
>> * src/tac.c (tac_seekable): Keep track of the offset where the search
>> for the separator started in G_BUFFER. Use it when setting MATCH_START.
>> * src/tac.pl ($limits, $INITIAL_READSIZE): New variables.
>> (@Tests): Add test cases that would previously fail.
>> * NEWS: Mention the bug fix.
>> Discovered by Anthropic's OSS Scanner, as bug ANT-2026-W4REGHHY.
>
> +1
>
>> Discovered by SecBuddyF (with Hy4-preview) of Tencent KeenSecurityLab.
>
> Was the above in reference to https://bugs.gnu.org/82117 ?
> If so that link should also be listed.

Yep, and done.

> Also I think this reference the separate github PR?
> Link: https://github.com/coreutils/coreutils/pull/469

The fix seemed different enough that I didn't think it made much sense.
I've added that link to the nice test case they provided, though.

Pushed with those changes and the removal of the BUFSIZ stuff.

Thanks,
Collin

Reply via email to