summaryrefslogtreecommitdiffstats
path: root/fs/hfsplus
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-07-03 16:02:09 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-07-09 09:33:55 -0300
commit40978e9bf2137223993e70921de2731201788049 (patch)
tree6a30fc456b6dbed75fc7a8def8ee6b9fb284b836 /fs/hfsplus
parent363bbaef63ffebcc745239fe80a953ebb5ac9ec9 (diff)
downloadlinux-40978e9bf2137223993e70921de2731201788049.tar.bz2
perf inject: The tool->read() call may pass a NULL evsel, handle it
Check first, as machines__deliver_event() may have perf_evlist__id2evsel() returning NULL. This was found while checking a report from Leo Yan that used the smatch tool to find places where a pointer is checked before use and then, later in the same function gets used without checking. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Leo Yan <leo.yan@linaro.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lkml.kernel.org/n/tip-muvb8xqyh0gysgfjfq35w642@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'fs/hfsplus')
0 files changed, 0 insertions, 0 deletions