Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Apr 2023 20:22:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 270867] xargs -E is not working properly
Message-ID:  <bug-270867-227-ApxzPzZXXo@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-270867-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-270867-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270867

--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D21ef48af5c0f4ed85a5f42855b5a8d58b=
5431103

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(-)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270867-227-ApxzPzZXXo>