Re: [PATCH] perf arm-spe: Avoid potential buffer overrun.

2021-04-07 Thread Arnaldo Carvalho de Melo
Em Wed, Apr 07, 2021 at 08:39:55AM -0700, Ian Rogers escreveu: > SPE extended headers are >1 byte so ensure the buffer contains at > least this before reading. This issue was detected by fuzzing. Thanks, applied. - Arnaldo > Signed-off-by: Ian Rogers > --- >

[PATCH] perf arm-spe: Avoid potential buffer overrun.

2021-04-07 Thread Ian Rogers
SPE extended headers are >1 byte so ensure the buffer contains at least this before reading. This issue was detected by fuzzing. Signed-off-by: Ian Rogers --- tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git