Date: Mon, 3 Oct 2022 23:11:15 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: d74024a490c8 - main - pfctl: Fix mismatch in array bounds for pfr_next_token(). Message-ID: <202210032311.293NBFIc065458@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=d74024a490c877c6b5c7a2de7a69dcfa9486162f commit d74024a490c877c6b5c7a2de7a69dcfa9486162f Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-10-03 23:10:41 +0000 Commit: John Baldwin <jhb@FreeBSD.org> 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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210032311.293NBFIc065458>