diff options
author | Colin Ian King <colin.king@canonical.com> | 2020-03-12 16:04:30 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-12 23:50:18 +0100 |
commit | c0368595c1639947839c0db8294ee96aca0b3b86 (patch) | |
tree | 035722a01655c9b3e49a464418777ec2a9da7665 /fs/hfs/sysdep.c | |
parent | tc-testing: add ETS scheduler to tdc build configuration (diff) | |
download | linux-c0368595c1639947839c0db8294ee96aca0b3b86.tar.xz linux-c0368595c1639947839c0db8294ee96aca0b3b86.zip |
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 <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/hfs/sysdep.c')
0 files changed, 0 insertions, 0 deletions