diff options
author | Denis Efremov <denis.e.efremov@oracle.com> | 2022-05-18 11:00:52 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-19 19:35:47 +0200 |
commit | bc10916e890948d8927a5c8c40fb5dc44be5e1b8 (patch) | |
tree | 56a4148dc7ac4f405b01a3e8d380149beff05ebe /drivers/android/binder_alloc.c | |
parent | 4d0cc9e0e53e9946d7b8dc58279c62dfa7a2191b (diff) | |
download | linux-bc10916e890948d8927a5c8c40fb5dc44be5e1b8.tar.bz2 |
staging: r8188eu: 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: 2b42bd58b321 ("staging: r8188eu: introduce new os_dep dir for RTL8188eu driver")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Denis Efremov <denis.e.efremov@oracle.com>
Link: https://lore.kernel.org/r/20220518070052.108287-1-denis.e.efremov@oracle.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/android/binder_alloc.c')
0 files changed, 0 insertions, 0 deletions