The branch main has been updated by jhb:

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

commit d74024a490c877c6b5c7a2de7a69dcfa9486162f
Author:     John Baldwin <[email protected]>
AuthorDate: 2022-10-03 23:10:41 +0000
Commit:     John Baldwin <[email protected]>
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,

Reply via email to