https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270867

--- Comment #5 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=21ef48af5c0f4ed85a5f42855b5a8d58b5431103

commit 21ef48af5c0f4ed85a5f42855b5a8d58b5431103
Author:     Yuri Pankov <[email protected]>
AuthorDate: 2023-04-17 19:14:33 +0000
Commit:     Yuri Pankov <[email protected]>
CommitDate: 2023-04-17 20:20:03 +0000

    xargs: improve foundeof check for -E

    4aeb63826e0f got it almost correct (we can't use strcmp() here as
    current argument isn't guaranteed to be NUL-terminated), but we also
    need to check that current argument length is equal to that of eofstr.

    PR:             270867
    Reviewed by:    bapt
    Differential Revision:  https://reviews.freebsd.org/D39583

 usr.bin/xargs/xargs.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to