mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-24 00:51:07 +07:00
![]() commit 8e4052c32d6b4b39c1e13c652c7e33748d447409 upstream.
The > comparison should be >= to prevent accessing one element beyond
the end of the dev->vlans[] array in the caller function, b53_vlan_add().
The "dev->vlans" array is allocated in the b53_switch_init() function
and it has "dev->num_vlans" elements.
Fixes:
|
||
---|---|---|
.. | ||
b53_common.c | ||
b53_mdio.c | ||
b53_mmap.c | ||
b53_priv.h | ||
b53_regs.h | ||
b53_serdes.c | ||
b53_serdes.h | ||
b53_spi.c | ||
b53_srab.c | ||
Kconfig | ||
Makefile |