git: afc2b44c748d - stable/13 - ipfilter: Fix mismatch in array bounds.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Wed, 03 May 2023 00:30:00 UTC
The branch stable/13 has been updated by jhb:

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

commit afc2b44c748df289b1f030a85cea0ec54f13be76
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-12-07 20:32:38 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-05-03 00:23:27 +0000

    ipfilter: Fix mismatch in array bounds.
    
    Reported by:    GCC -Warray-parameter
    Reviewed by:    imp, cy, emaste
    Differential Revision:  https://reviews.freebsd.org/D37548
    
    (cherry picked from commit 415ccf51122eab7b55978a1db00b484a06ffc84b)
---
 sys/netpfil/ipfilter/netinet/radix_ipf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/netpfil/ipfilter/netinet/radix_ipf.c b/sys/netpfil/ipfilter/netinet/radix_ipf.c
index 0ab4431c21ca..5db7f761ac06 100644
--- a/sys/netpfil/ipfilter/netinet/radix_ipf.c
+++ b/sys/netpfil/ipfilter/netinet/radix_ipf.c
@@ -318,7 +318,7 @@ ipf_rx_attach_mask(ipf_rdx_node_t *node, ipf_rdx_mask_t *mask)
 /* by the netmask.                                                          */
 /* ------------------------------------------------------------------------ */
 static ipf_rdx_node_t *
-ipf_rx_insert(ipf_rdx_head_t *head, ipf_rdx_node_t *nodes, int *dup)
+ipf_rx_insert(ipf_rdx_head_t *head, ipf_rdx_node_t nodes[2], int *dup)
 {
 	ipf_rdx_mask_t **pmask;
 	ipf_rdx_node_t *node;