diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2017-08-17 15:12:55 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-08-17 16:39:14 -0300 |
commit | d6d4fc6fefda26a88eb99d30e87a8834c59c144a (patch) | |
tree | 0cfa282ccd810ab1a897852bbcd55d1ec9f0697d /lib/mpi/mpi-cmp.c | |
parent | c73881eeb1a0ee9b45d8bc9f45ab02e23d81c5c5 (diff) |
perf trace: Fix off by one string allocation problem
We need to consider the null terminator, oops, fix it.
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Fixes: 017037ff3d0b ("perf trace: Allow specifying list of syscalls and events in -e/--expr/--event")
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions