Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 May 2023 00:29:52 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 4f58d7654381 - stable/13 - malo: Fix mismatch in array bounds.
Message-ID:  <202305030029.3430TqYo072246@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jhb:

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

commit 4f58d7654381a6e9b8b71b8ac154de20e19f9b10
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-12-07 20:31:16 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-05-03 00:18:37 +0000

    malo: Fix mismatch in array bounds.
    
    Reported by:    GCC -Warray-parameter
    Reviewed by:    imp, emaste
    Differential Revision:  https://reviews.freebsd.org/D37544
    
    (cherry picked from commit 8b45e0c180114e1059767d0920ad6e6bfdeb37ce)
---
 sys/dev/malo/if_malohal.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/malo/if_malohal.h b/sys/dev/malo/if_malohal.h
index 8322f18ef739..6a68a41afea9 100644
--- a/sys/dev/malo/if_malohal.h
+++ b/sys/dev/malo/if_malohal.h
@@ -223,7 +223,7 @@ int	malo_hal_setmaxtxpwr(struct malo_hal *, uint16_t);
 int	malo_hal_settxpower(struct malo_hal *, const struct malo_hal_channel *);
 int	malo_hal_setpromisc(struct malo_hal *, int);
 int	malo_hal_setassocid(struct malo_hal *,
-	    const uint8_t[], uint16_t);
+	    const uint8_t[IEEE80211_ADDR_LEN], uint16_t);
 void	malo_hal_txstart(struct malo_hal *, int);
 void	malo_hal_getisr(struct malo_hal *, uint32_t *);
 void	malo_hal_cmddone(struct malo_hal *);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305030029.3430TqYo072246>