diff options
author | Justin Chen <justin.chen@broadcom.com> | 2024-02-15 21:27:32 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-02-18 14:32:10 +0300 |
commit | f120e62e37f0af4c4cbe08e5a88ea60a6a17c858 (patch) | |
tree | 4e1e568c4d36f679c890547f97c56bdc07595e91 /drivers/accessibility | |
parent | 5b76d928f8b779a1b19c5842e7cabee4cbb610c3 (diff) | |
download | linux-f120e62e37f0af4c4cbe08e5a88ea60a6a17c858.tar.xz |
net: bcmasp: Sanity check is off by one
A sanity check for OOB write is off by one leading to a false positive
when the array is full.
Fixes: 9b90aca97f6d ("net: ethernet: bcmasp: fix possible OOB write in bcmasp_netfilt_get_all_active()")
Signed-off-by: Justin Chen <justin.chen@broadcom.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/accessibility')
0 files changed, 0 insertions, 0 deletions