summaryrefslogtreecommitdiff
path: root/net/netfilter/nft_cmp.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2019-10-17 12:18:32 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-24 23:17:17 -0400
commitd59dc92f1bccd5acde793aebdbb4f7121cf3f9af (patch)
tree8033ae682f4e3222e0a427679eea2041f1cd4edf /net/netfilter/nft_cmp.c
parentbfc0a0935aa4d74cd37d0b5e013ec6c4aa827a2d (diff)
staging: wilc1000: potential corruption in wilc_parse_join_bss_param()
The "rates_len" value needs to be capped so that the memcpy() doesn't copy beyond the end of the array. Fixes: c5c77ba18ea6 ("staging: wilc1000: Add SDIO/SPI 802.11 driver") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Adham Abozaeid <adham.abozaeid@microchip.com> Link: https://lore.kernel.org/r/20191017091832.GB31278@mwanda Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/netfilter/nft_cmp.c')
0 files changed, 0 insertions, 0 deletions