mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-26 03:48:58 +00:00
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 | ||