From nobody Thu Jan 27 07:51:20 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 DB830198FFEC for ; Thu, 27 Jan 2022 07:51:20 +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 4Jkt7r2yB2z3qLC for ; Thu, 27 Jan 2022 07:51:20 +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 4468212755 for ; Thu, 27 Jan 2022 07:51:20 +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 20R7pK37025324 for ; Thu, 27 Jan 2022 07:51:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20R7pK1Z025323 for bugs@FreeBSD.org; Thu, 27 Jan 2022 07:51:20 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: Thu, 27 Jan 2022 07:51:20 +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=1643269880; 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=NogxsZMUSqTQb4wMmCPoqmixOr7HdfUBgSFKqcc7bUg=; b=xOsZgVht4Z0Svy54eG2p9PvBrTAgDmoGoLKg9aI9e4nOgkBHozVJifktO8LbkCjj4MGnjH 2kDLJ8gHckRNt0whMOQRchv4M5lUlwtnxhuePz8oJ7C13CFUTcptWfoDQS5bt7Ut680l82 wpCaWeRvohKON0GdJ8d88NUtGTV9NTjhHtOlMwuu1fess115EyGX7XbypRunzByNIhMPqM xEsp6Z0bBTTKrXKfzDYvvWPKS5gCLIc6APEDyPLfL8257VOVC5OL7SSz4+34V0yL4oM8QD kgqXpyZeieTr8lsWorYuZeUPOKC03vFozdwIBO0yOAkK8I0zVjXPfLuUCSZjQg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643269880; a=rsa-sha256; cv=none; b=VEltJFQxG0ZmTpHBCI8Y/oox26Cf48jMfK9Cghz/ci7BD5ksYC8iZcZRwelt0lcllQGYFC L8h4RL8pUPmMbuFhZIzC2xhHczf/owIFG+C6Wjlx/dTc/2nYE0W69kTF0DE9DW/awxZ95L 66MKl4NCUqzdmNJ31lvTJJA0L0pJS2v7K4sNETIGLU2d7QIrj7B+cSq0Vz3T0qyL3D+dQS ffjY6hL95QPwitfMrUQgHpgwvRpUaQyXolNW4O1lvu8ixffz9d38OBKiz8YY/7jdcGhclY 5ReAnLiX4gOowyFZFzkGxLxwfD1l9TVbYmHGqAhi+Bk7/CgSnLgkOw7r4z9zpw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260958 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3De68de6694381748b7578703b22580c0f1= 7780b32 commit e68de6694381748b7578703b22580c0f17780b32 Author: Kristof Provost AuthorDate: 2022-01-05 20:31:02 +0000 Commit: Kristof Provost CommitDate: 2022-01-27 06:36:26 +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 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.=