aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/phy/micrel.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2020-03-12 15:04:30 +0000
committerDavid S. Miller <[email protected]>2020-03-12 15:50:18 -0700
commitc0368595c1639947839c0db8294ee96aca0b3b86 (patch)
tree035722a01655c9b3e49a464418777ec2a9da7665 /drivers/net/phy/micrel.c
parent9d0e0cd9a529ba68b2acda68b5075d4a5ea7118a (diff)
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: bb9051a2b230 ("net: systemport: Add support for WAKE_FILTER") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/phy/micrel.c')
0 files changed, 0 insertions, 0 deletions