From nobody Fri Feb 18 10:47:04 2022 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 6A4B219CE974 for ; Fri, 18 Feb 2022 10:47:05 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K0T0S5m3Tz4VcJ for ; Fri, 18 Feb 2022 10:47:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 A03A71B9EC for ; Fri, 18 Feb 2022 10:47:04 +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 21IAl48B055951 for ; Fri, 18 Feb 2022 10:47:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21IAl4bI055950 for bugs@FreeBSD.org; Fri, 18 Feb 2022 10:47:04 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 260958] pfctl: expand_rule: strlcpy Date: Fri, 18 Feb 2022 10:47:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645181224; 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=csqujGE0h0UDJV8LHHUfDCycgjkHHdX55C25OYVdrGc=; b=JMZqaYZsyO8CygAIFvHcT4VFD3tkWPtp9JDNBn/FeWRgdBFQTtT3AVgXw2mF1HVvs3iqgG O053TCaNqrDJ3iLc10yv7yCWMxE4gRhd/QBM7A5BdPuiH1kmT6jBRTyiv5RDFEm03S83On 0Udul4o2ovTwkk4qxgoDDCWOgkY5JQB8vw9INjCdAcDEvwWZcpItxOJF9xyCzKIRZmiYWf ppqd9ul3wHJAVU+6/5+MWS/SczXV3nwf+BVhob2rXOTgkCEEcndHCOR7iBAStXCqKzsOXK tLLRcb5h6o/zp4VK4eorMCyqf6Q3ANqqBblmGMefWxb3giM3fYzqFsxViQxEPg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645181224; a=rsa-sha256; cv=none; b=Qd56fH+O2vPvWChS7TrBWAfdzoiI2AVsEKHP9j9hhiw2OifQH8jsWqi2OMjH2DOMfQq9xf x/QpVmdmCby1pnw6LMwuDUZB0U/EAilc5cINX++HJT/PxNYVT8qNQdtZeg3Mrp0cwYkGrT Q93Hhz72oA42zjGFI7hVM/DdFGAajvxHzBXb3YEaPbU+r2QrBpZXbGfadA6tTLun/WEfBU c+MXkzJY4FXVQGde4Xs0RSCqOQLmZDeJr6LrLCcEiMKOetapwL2rT+YzuvIXHBtOo12eWo jgMCSumudtqChKXmy8fRtSv8g0Do3AeTGby2Vb4P4KVyiqbRJgP/Jn8RXIjftA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260958 --- Comment #4 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Db5f6f687a2eea520d93f2c1ca4e04efd7= c2e367f commit b5f6f687a2eea520d93f2c1ca4e04efd7c2e367f Author: Kristof Provost AuthorDate: 2022-01-05 20:31:02 +0000 Commit: Kristof Provost CommitDate: 2022-02-18 10:14:58 +0000 pfctl: improve error reporting for routehost If an invalid (i.e. overly long) interface name is specified error out immediately, rather than in expand_rule() so we point at the incorrect line. PR: 260958 MFC after: 3 weeks Differential Revision: https://reviews.freebsd.org/D34008 (cherry picked from commit e68de6694381748b7578703b22580c0f17780b32) sbin/pfctl/parse.y | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=