From nobody Fri Nov 11 18:36:45 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 4N86qd4mTrz4dbbq; Fri, 11 Nov 2022 18:36:45 +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 4N86qd3p1cz3vYL; Fri, 11 Nov 2022 18:36:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668191805; 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=KSb3lebjgnnKxMZSMyECZzWetSDBiEiqAyzSV8OoUcs=; b=Nr4uRaaVoezkHfhvhPLhjghkwLMkKFr/fwPAUBTa72YgyJPi8iAlzVHQNrNAqWM6ciLnaC j2AvaCtldZhXb4dbTL7HXPijCDuxVsWscJ3MyYSf74G5ss8tD3sQe4O6CvRZhcNLudhztF p3V/6mwsM9h2l5/tX2FINI+yqyVa7sMWDtoLQPRD6rj6rIIrUejGbLLB9Gf0/c7w9ll/CZ 75yax7WoZceqsiJEAaaL3G6BYW6teOGNcj6p/2yvAhuhMQFhIjASex3BMpGZn8GLa5V00H z7/amv4N4/Ow3kf0Mgqzz8Ni3cszK+f5qiV2fhfyj9SQoU21dMRoyCy9q7tKew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668191805; 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=KSb3lebjgnnKxMZSMyECZzWetSDBiEiqAyzSV8OoUcs=; b=KMerJsbDPXqB21kEt2aNG9OvizvldmNrUnXMQLkA7mxf7NEB5apric/Ar9OEuMT6jrzHbz dOkeygie5kYpmL9NO7FpTnRNdwjDKFAAojf2PJstJ4mk91uanrAFk0Zv49kZVUS1V1W0ap XakwqV5TmnFTFup3EL3bSmTnuBPgj5E1BjEmu9Fk8gorzQh36wppvp7q3hI6XUSkSCZfXr cstz+Y3r1cFingTf93McWazkGTOiKYP1IJ5s4IVngl4BFCH5R94Mc1+KamSgb3m0lnLB46 CqiquENnyQvp+6eiZ6fpEVxANeG/G/LRuyqnb769Ag/xPcBLGrX7+sLMxuUcqw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668191805; a=rsa-sha256; cv=none; b=ANWEuMEC/+cKF6/DJtvF/sV+vKmNREjP0Ljg47X6b/As7LOUmPAC/xGh/2UYLwYt+WZM4J kLD2fAjtg2Rn9GXeqxxuPsoxdtmROMSSHNPtIAw9Owxy8EEIYU3ntiWKw9aQXgWl9waSBU wSRB0KLxU9Fk/c/Ig2N6ipkMQ0iA/O2EInBV9T+bHrVpNQ2LHWxGWIDUHA2gHrXPFzu/u5 LyNJvShubPFjMfWB11YG6ZgKb3yEfE11EKxAkOCpe3KPcbIhqeL/6ThoddXZvLLC1kthiV JWzCOYU4Nyflbl7bJMwZCOegKHUpiz88lJcdqVwkCvN1lv49oNGQMs+Wtbq8Ag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4N86qd2Mbszt9M; Fri, 11 Nov 2022 18:36:45 +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 2ABIajxW004007; Fri, 11 Nov 2022 18:36:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2ABIajC4004006; Fri, 11 Nov 2022 18:36:45 GMT (envelope-from git) Date: Fri, 11 Nov 2022 18:36:45 GMT Message-Id: <202211111836.2ABIajC4004006@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: 991603548ecb - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 991603548ecb2549d074217d70a1f0f96e6c70f6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=991603548ecb2549d074217d70a1f0f96e6c70f6 commit 991603548ecb2549d074217d70a1f0f96e6c70f6 Author: John Baldwin AuthorDate: 2022-10-03 23:10:41 +0000 Commit: John Baldwin CommitDate: 2022-11-11 18:18:53 +0000 pfctl: Fix mismatch in array bounds for pfr_next_token(). Reviewed by: kp, emaste Differential Revision: https://reviews.freebsd.org/D36806 (cherry picked from commit d74024a490c877c6b5c7a2de7a69dcfa9486162f) --- 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,