diff options
author | Namhyung Kim <namhyung@kernel.org> | 2020-09-04 00:25:10 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-09-03 15:38:05 -0300 |
commit | e62458e3940eb3dfb009481850e140fbee183b04 (patch) | |
tree | 240822f5f0ea60b2e675b740a4f8ee58f6e8e403 /tools/lib | |
parent | 0823f768b800cca2592fad3b5649766ae6bc4eba (diff) | |
download | linux-e62458e3940eb3dfb009481850e140fbee183b04.tar.gz linux-e62458e3940eb3dfb009481850e140fbee183b04.tar.bz2 linux-e62458e3940eb3dfb009481850e140fbee183b04.zip |
perf jevents: Fix suspicious code in fixregex()
The new string should have enough space for the original string and the
back slashes IMHO.
Fixes: fbc2844e84038ce3 ("perf vendor events: Use more flexible pattern matching for CPU identification for mapfile.csv")
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Reviewed-by: Ian Rogers <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: John Garry <john.garry@huawei.com>
Cc: Kajol Jain <kjain@linux.ibm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: William Cohen <wcohen@redhat.com>
Link: http://lore.kernel.org/lkml/20200903152510.489233-1-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/lib')
0 files changed, 0 insertions, 0 deletions