diff options
| author | Dan Carpenter <[email protected]> | 2021-03-05 08:58:03 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-03-10 08:23:30 +0000 |
| commit | 74b6b20df8cfe90ada777d621b54c32e69e27cd7 (patch) | |
| tree | f54c9a543d271dddcd1f49c6aa61eaf7242aa269 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | staging: rtl8188eu: fix potential memory corruption in rtw_check_beacon_data() (diff) | |
| download | kernel-74b6b20df8cfe90ada777d621b54c32e69e27cd7.tar.gz kernel-74b6b20df8cfe90ada777d621b54c32e69e27cd7.zip | |
staging: rtl8188eu: prevent ->ssid overflow in rtw_wx_set_scan()
This code has a check to prevent read overflow but it needs another
check to prevent writing beyond the end of the ->ssid[] array.
Fixes: a2c60d42d97c ("staging: r8188eu: Add files for new driver - part 16")
Signed-off-by: Dan Carpenter <[email protected]>
Cc: stable <[email protected]>
Link: https://lore.kernel.org/r/YEHymwsnHewzoam7@mwanda
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
