diff options
| author | Oscar Carter <[email protected]> | 2020-05-04 17:09:11 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-05-05 12:23:28 +0200 |
| commit | a4338ed2e1cf724563956ec5f91deeaabfedbe23 (patch) | |
| tree | 2be7bba1341b04a2766cf36e08a73d89442e8d12 /tools/perf/scripts/python | |
| parent | 8d8a1424a03e0fe6dff5542a2d412a3836eb87a7 (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 <[email protected]>
Signed-off-by: Oscar Carter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions