From nobody Mon Aug 19 08:00:17 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WnQ4d2wBDz5SWHG for ; Mon, 19 Aug 2024 08:00:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WnQ4c5sG6z4BHW for ; Mon, 19 Aug 2024 08:00:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724054416; a=rsa-sha256; cv=none; b=iNkpZKlYdKTmfmBSI45zPwgXbF1TuV4j5lKaVajTSoTAR8exQQ/Izw00dLrMezd7fnuoAM pTO20xOss3WmxUDXAdoj8P2Jq95hBJxZ7BNwxvd5VtUApt7qqj8XBg/lBlW36dSktp2WwG bxqQPV3JewJ3vwGCxTNqAHbnjAOZw8pU96dsSfJQCaK/h6STks7HFj2YYPNC7HY7iTbNmw Dzh0cgRykhiPZM7mgXeeH1WmayQU+569GmBzjEiVZaofZxV4xoEfe+iB16QttD53xzOrNk SSkJIvmTuR7tTui452+GiQvS0IB/vhK7OsTXiw2IulU+xykHLlLJMkTU5YBZ7A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724054416; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cLX7u6KvJEEwB0GpOUrrrLI2KvAnHQQC4XdZCgkWOOo=; b=FEprfCgUKboMM5XVXn9R/wRose9v726vS/dpPBjoJh24IkQt/YWMJo4Wp8n/ec/N8JX1jQ HUBvOWWTJIqg6t/+of4GvR6p7OHWe3s0BBwRW6QbRwjyar+5U1HmOaObX3eVNkj5ALxpAf i7TIngYu0EHBLy6ZalyU2U7Mf9hPCoqAmqJRwAz4JdnG55mJouhISxsHYf0I3anzgV0Us/ drTuFhGapcpIYXeS9jbq++qCCj7eeeyWbKr+XZZKKKyRMMILzJiufalyDUUnZ3b3NkyY5P wsUnGuT9XxAv7wDX4u8Cx+zMVtDbd1bIc8UHL1T8Xm2a3CQdPHsw4RBSeSeNnQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WnQ4c5R3Qz17j5 for ; Mon, 19 Aug 2024 08:00:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 47J80G1d063987 for ; Mon, 19 Aug 2024 08:00:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47J80GIZ063986 for bugs@FreeBSD.org; Mon, 19 Aug 2024 08:00:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 280910] [PATCH] Fix crash for "tail -F" Date: Mon, 19 Aug 2024 08:00:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 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 AuthorDate: 2024-08-19 07:54:24 +0000 Commit: Konstantin Belousov 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.=