Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: systemport: fix index check to avoid an array out of bounds access
Currently the bounds check on index is off by one and can lead to an out of bounds access on array priv->filters_loc when index is RXCHK_BRCM_TAG_MAX. Fixes: bb9051a ("net: systemport: Add support for WAKE_FILTER") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information