diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-04-24 13:42:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-25 13:59:22 +0300 |
commit | 87f86cddda65cab8a7e3df8a00e16abeccaa0730 (patch) | |
tree | 85f8b23f7f1d9595a45a4189b4f76b73010accbf /sound/soc/codecs/wm8400.c | |
parent | 705b7c364808de23f067c128afb295e5f0d8da24 (diff) | |
download | linux-87f86cddda65cab8a7e3df8a00e16abeccaa0730.tar.xz |
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 'sound/soc/codecs/wm8400.c')
0 files changed, 0 insertions, 0 deletions