aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/traceevent/Makefile
diff options
context:
space:
mode:
authorDonald Yandt <donald.yandt@gmail.com>2019-05-14 07:01:00 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-05-15 16:36:47 -0300
commit30ba5b0e66c872faa416a458d32cc3956ecb548a (patch)
tree646052ffc2fe8738b9b2de1b7307ce02587b99cc /tools/lib/traceevent/Makefile
parentperf vendor events intel: Add uncore_upi JSON support (diff)
downloadlinux-dev-30ba5b0e66c872faa416a458d32cc3956ecb548a.tar.xz
linux-dev-30ba5b0e66c872faa416a458d32cc3956ecb548a.zip
perf machine: Null-terminate version char array upon fgets(/proc/version) error
If fgets() fails due to any other error besides end-of-file, the version char array may not even be null-terminated. Signed-off-by: Donald Yandt <donald.yandt@gmail.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Avi Kivity <avi@scylladb.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Yanmin Zhang <yanmin_zhang@linux.intel.com> Fixes: a1645ce12adb ("perf: 'perf kvm' tool for monitoring guest performance from host") Link: http://lkml.kernel.org/r/20190514110100.22019-1-donald.yandt@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/lib/traceevent/Makefile')
0 files changed, 0 insertions, 0 deletions