Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 2024 08:00:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 280910] [PATCH] Fix crash for "tail -F"
Message-ID:  <bug-280910-227-wbOAlnsZwG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-280910-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-280910-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=3D280910

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

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D308399a179a49b7b858c725de10177fdb=
0502fd2

commit 308399a179a49b7b858c725de10177fdb0502fd2
Author:     Andre Albsmeier <mail@fbsd2.e4m.org>
AuthorDate: 2024-08-19 07:54:24 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-08-19 07:54:24 +0000

    tail -F: fix crash

    When show() detects an error and closes the file and follow() wants to
    close it again, a NULL dereference occurs.

    PR:     280910
    MFC after:      1 week

 usr.bin/tail/forward.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--=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-280910-227-wbOAlnsZwG>