Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Nov 2020 06:51:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   =?UTF-8?B?W0J1ZyAyNTEwODFdIEdyZXAgQ3Jhc2hlcyB3aXRoIGJvdGggwqst?= =?UTF-8?B?LWFmdGVyLWNvbnRleHTCuyDCqy0tbWF4LWNvdW50wrsgU3dpdGNoZXMgYXJl?= =?UTF-8?B?IFVzZWQ=?=
Message-ID:  <bug-251081-227-UBf7hbNLlh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-251081-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-251081-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=3D251081

Igor Kolesnik <igorkolesnik@posteo.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |igorkolesnik@posteo.net

--- Comment #1 from Igor Kolesnik <igorkolesnik@posteo.net> ---
Looks like it strips out the trailing eol character when calling execute in
prpending().  Inside execute memchr() fails to find eol and returns NULL.

This occurs in 13.0-CURRENT as well.

BSD grep does not contain such bug.

Attached is a proposed patch.

--=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-251081-227-UBf7hbNLlh>