git: 991603548ecb - stable/13 - pfctl: Fix mismatch in array bounds for pfr_next_token().

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 11 Nov 2022 18:36:45 UTC
The branch stable/13 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=991603548ecb2549d074217d70a1f0f96e6c70f6

commit 991603548ecb2549d074217d70a1f0f96e6c70f6
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-10-03 23:10:41 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
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,