summaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-04-24 13:42:35 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-25 12:59:22 +0200
commit87f86cddda65cab8a7e3df8a00e16abeccaa0730 (patch)
tree85f8b23f7f1d9595a45a4189b4f76b73010accbf /drivers/usb/storage
parent705b7c364808de23f067c128afb295e5f0d8da24 (diff)
downloadlinux-87f86cddda65cab8a7e3df8a00e16abeccaa0730.tar.gz
linux-87f86cddda65cab8a7e3df8a00e16abeccaa0730.tar.bz2
linux-87f86cddda65cab8a7e3df8a00e16abeccaa0730.zip
staging: wfx: check ssidlen and prevent an array overflow
We need to cap "ssidlen" to prevent a memcpy() overflow. Fixes: 40115bbc40e2 ("staging: wfx: implement the rest of mac80211 API") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Jérôme Pouiller <jerome.pouiller@silabs.com> Link: https://lore.kernel.org/r/20200424104235.GA416402@mwanda Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/storage')
0 files changed, 0 insertions, 0 deletions