From nobody Mon Oct 03 23:11:15 2022 X-Original-To: dev-commits-src-all@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 4MhGmN0qvBz4V1Sx; Mon, 3 Oct 2022 23:11:16 +0000 (UTC) (envelope-from git@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 4MhGmM6Tn4z3PkT; Mon, 3 Oct 2022 23:11:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664838675; 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; bh=Fef8c0WfMc+plMpIaknhri5jw4wRWYfQZLKvJ948JMk=; b=qB0/OLCA4RH/C6HK+3QAk2BP14K1/Oh71s1U+bx1RC0LnFvMdBeAjPqfTjLJNJBCa0LF1v W9wHYyP8KBKCqZqgn8Qy9GQJ2XVFrpMY2/X0UysQIarDBDPsR4zllvOdnxbTh66Hhwl3VB xhp+5poWIqgxG9ZilFGV8vh4AN72LHqsYn01YdAseI5uQG5k2AFPi0SNrMxoM+HemT+Bnr sMJDW/0GMweA/vXCt59xnEEsfLpw64o00QypMENyAKnBADp3QMfMHfDEvRgaXRLPRu8eex RnmKFpB9V+8dWF5qfpsmOu3P/NCzlmz1+r3SBBsln5gmi5o9VSw0shNzAQdEUg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4MhGmM5Z9qzMXt; Mon, 3 Oct 2022 23:11:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 293NBFOb065459; Mon, 3 Oct 2022 23:11:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 293NBFIc065458; Mon, 3 Oct 2022 23:11:15 GMT (envelope-from git) Date: Mon, 3 Oct 2022 23:11:15 GMT Message-Id: <202210032311.293NBFIc065458@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: d74024a490c8 - main - pfctl: Fix mismatch in array bounds for pfr_next_token(). List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d74024a490c877c6b5c7a2de7a69dcfa9486162f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664838675; 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; bh=Fef8c0WfMc+plMpIaknhri5jw4wRWYfQZLKvJ948JMk=; b=RQa6sQnckfW7bAnNm+cZrnueOXGLa0tXdqFofHtnPuxVNSw/SCwHsjMhgiQl3VjAGGUBH+ w5iKuU1xomzCeFk6O+QRffRjrFInIYeWC/ogATI8fS0xtH/IdJ4t16UsnrIq4lKxQ2mGU2 z37b1/kWYOv30cvLVMi2FnwVhd4pWgVRcE2AtmAnP8O2rx0whM/DUojJdSaqCwVYwI2IBr 77YWkPLxx7rCUwRdttmsNnNNd+g+xPBuliI3UbpX/qqgfNAmgWfjiU/eTpuMOsocKKEDHt RM+ePJL058AehHxRYEZlg2KZ7X7e905oM48cfHm7/4mngYlmd/J3S460C2erQw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664838675; a=rsa-sha256; cv=none; b=sncpGF0fZ0XOEn6ya5bI2yN4lLQ5TA+r+y9Pjc/OFK4opj4W16RkASFLTTOummYQ9NSM6M Pckp82+Slt30q2ZZJem9CN7V5PAAQ+d10gmUKq/YWnNxAhmz5JrCkMoYKtNT7D6HLBtJL5 sCM7z7m8+bvKpp+aaiUmaTIWa+U72n/1+jmOIC6AXkYt682Ft/6wGcfqYsPp9eD8M0tVxz fJZyK8ZDIN3U09MozEQZe4wLgyeDZ71xpXPGBSuyHY0AXE9sEnRTHTEnAbDTfV7xo3x/7A jinsXuHXWpbMPcKua2GAFoKB7ItfXYthalS2Yx1erSJnAfIPTfLvcUTl8nP7VA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=d74024a490c877c6b5c7a2de7a69dcfa9486162f commit d74024a490c877c6b5c7a2de7a69dcfa9486162f Author: John Baldwin AuthorDate: 2022-10-03 23:10:41 +0000 Commit: John Baldwin CommitDate: 2022-10-03 23:10:41 +0000 pfctl: Fix mismatch in array bounds for pfr_next_token(). Reviewed by: kp, emaste Differential Revision: https://reviews.freebsd.org/D36806 --- sbin/pfctl/pfctl_radix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/pfctl/pfctl_radix.c b/sbin/pfctl/pfctl_radix.c index 5d71a4e6ac89..95407ccae261 100644 --- a/sbin/pfctl/pfctl_radix.c +++ b/sbin/pfctl/pfctl_radix.c @@ -56,7 +56,7 @@ __FBSDID("$FreeBSD$"); extern int dev; -static int pfr_next_token(char buf[], FILE *); +static int pfr_next_token(char buf[BUF_SIZE], FILE *); static void pfr_report_error(struct pfr_table *tbl, struct pfioc_table *io,