[Bug 280910] [PATCH] Fix crash for "tail -F"
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 280910] [PATCH] Fix crash for "tail -F""
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 19 Aug 2024 08:00:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280910
--- Comment #1 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=308399a179a49b7b858c725de10177fdb0502fd2
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(-)
--
You are receiving this mail because:
You are the assignee for the bug.