diff options
| author | Weixie Cui <cuiweixie@gmail.com> | 2026-03-31 10:24:08 +0000 |
|---|---|---|
| committer | Enji Cooper <ngie@FreeBSD.org> | 2026-04-08 00:50:25 +0000 |
| commit | e8053023e7c07214a7b0a97f0f087ba02b329157 (patch) | |
| tree | ccd99dc2522091a591f0671422bdb0b86f80da7a /sys/contrib/dev/mediatek/mt76/mt7603/(developers-only) | |
| parent | cc2f8f3786d6e0ef01e2b2feadb804c1f86716da (diff) | |
sizeof(*sc->sc_ipimasks) * mp_maxid + 1 is parsed as
(sizeof(*sc->sc_ipimasks) * mp_maxid) + 1, so the buffers were one byte
short of a full (mp_maxid + 1) element count. Multiply by (mp_maxid + 1)
for sc_ipimasks and sc_cpuids.
Signed-off-by: Weixie Cui <cuiweixie@gmail.com>
Reviewed-by: kevans, ngie
Pull-Request: https://github.com/freebsd/freebsd-src/pull/2112
Diffstat (limited to 'sys/contrib/dev/mediatek/mt76/mt7603/(developers-only)')
0 files changed, 0 insertions, 0 deletions
