[Bug 270867] xargs -E is not working properly
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 270867] xargs -E is not working properly"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Apr 2023 20:22:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270867
--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=21ef48af5c0f4ed85a5f42855b5a8d58b5431103
commit 21ef48af5c0f4ed85a5f42855b5a8d58b5431103
Author: Yuri Pankov <yuripv@FreeBSD.org>
AuthorDate: 2023-04-17 19:14:33 +0000
Commit: Yuri Pankov <yuripv@FreeBSD.org>
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.