summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorOscar Carter <oscar.carter@gmx.com>2020-05-04 17:09:11 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-05 12:23:28 +0200
commita4338ed2e1cf724563956ec5f91deeaabfedbe23 (patch)
tree2be7bba1341b04a2766cf36e08a73d89442e8d12 /tools/perf/scripts/python/stackcollapse.py
parent8d8a1424a03e0fe6dff5542a2d412a3836eb87a7 (diff)
downloadlinux-a4338ed2e1cf724563956ec5f91deeaabfedbe23.tar.gz
linux-a4338ed2e1cf724563956ec5f91deeaabfedbe23.zip
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions