Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: bcmasp: Sanity check is off by one
[ Upstream commit f120e62 ] A sanity check for OOB write is off by one leading to a false positive when the array is full. Fixes: 9b90aca ("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information