summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-03-05 11:56:32 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-17 16:07:22 +0100
commit577d460b95d5475de227a273fa099754021cb014 (patch)
treea1a3fdd05e1465a01c16ba7ecc615c0ad7c41ad2 /tools/perf/scripts/python
parent9554e673501afd2409c414e51166141408267385 (diff)
staging: rtl8188eu: fix potential memory corruption in rtw_check_beacon_data()
commit d4ac640322b06095128a5c45ba4a1e80929fe7f3 upstream. The "ie_len" is a value in the 1-255 range that comes from the user. We have to cap it to ensure that it's not too large or it could lead to memory corruption. Fixes: 9a7fe54ddc3a ("staging: r8188eu: Add source files for new driver - part 1") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Cc: stable <stable@vger.kernel.org> Link: https://lore.kernel.org/r/YEHyQCrFZKTXyT7J@mwanda Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions