From d74024a490c877c6b5c7a2de7a69dcfa9486162f Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Mon, 3 Oct 2022 16:10:41 -0700 Subject: [PATCH] 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,