diff options
| author | 2020-05-04 17:09:11 +0200 | |
|---|---|---|
| committer | 2020-05-05 12:23:28 +0200 | |
| commit | a4338ed2e1cf724563956ec5f91deeaabfedbe23 (patch) | |
| tree | 2be7bba1341b04a2766cf36e08a73d89442e8d12 /scripts/Makefile.thinlto | |
| parent | staging: qlge: Fix function argument alignment warning in ql_init_device (diff) | |
staging: wilc1000: Increase the size of wid_list array
Increase by one the size of wid_list array as index variable can reach a
value of 5. If this happens, an out-of-bounds access is performed.
Also, use a #define instead of a hard-coded literal for the new array
size.
Addresses-Coverity-ID: 1451981 ("Out-of-bounds access")
Fixes: f5a3cb90b802d ("staging: wilc1000: add passive scan support")
Acked-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Oscar Carter <oscar.carter@gmx.com>
Link: https://lore.kernel.org/r/20200504150911.4470-1-oscar.carter@gmx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
