diff options
author | 2021-03-02 14:19:39 +0300 | |
---|---|---|
committer | 2021-03-10 09:23:28 +0100 | |
commit | e163b9823a0b08c3bb8dc4f5b4b5c221c24ec3e5 (patch) | |
tree | 5e98aaf87b8105e4e9665baf0acd0140b5b1ce45 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging: rtl8712: Fix possible buffer overflow in r8712_sitesurvey_cmd (diff) | |
download | wireguard-linux-e163b9823a0b08c3bb8dc4f5b4b5c221c24ec3e5.tar.xz wireguard-linux-e163b9823a0b08c3bb8dc4f5b4b5c221c24ec3e5.zip |
staging: ks7010: prevent buffer overflow in ks_wlan_set_scan()
The user can specify a "req->essid_len" of up to 255 but if it's
over IW_ESSID_MAX_SIZE (32) that can lead to memory corruption.
Fixes: 13a9930d15b4 ("staging: ks7010: add driver from Nanonote extra-repository")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/YD4fS8+HmM/Qmrw6@mwanda
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions