Re: [PATCH v6 10/11] perf tools script: Add array bound checking to list_scripts

2019-03-11 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 11, 2019 at 07:45:01AM -0700, Andi Kleen escreveu: > From: Andi Kleen > > Don't overflow array when the scripts directory is too large, > or the script file name is too long. Applied.

[PATCH v6 10/11] perf tools script: Add array bound checking to list_scripts

2019-03-11 Thread Andi Kleen
From: Andi Kleen Don't overflow array when the scripts directory is too large, or the script file name is too long. Signed-off-by: Andi Kleen --- tools/perf/builtin-script.c | 8 ++-- tools/perf/builtin.h | 3 ++- tools/perf/ui/browsers/scripts.c | 3 ++- 3 files changed,