kernel-hacking-2024-linux-s.../tools
Masanari Iida c5765ece8a perf session: Fix possible null pointer dereference in session.c
cppcheck detected following warning:
[tools/perf/util/session.c:1628] -> [tools/perf/util/session.c:1632]:
 (warning) Possible null pointer dereference: session - otherwise it
 is redundant to check it against null.

In order to avoide null pointer, check the pointer before use.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Link: http://lkml.kernel.org/r/1400087618-13628-1-git-send-email-standby24x7@gmail.com
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
2014-05-16 09:18:51 +02:00
..
cgroup
firewire
hv Tools: hv: Handle the case when the target file exists correctly 2014-04-16 14:10:36 -07:00
include perf tools: Move ACCESS_ONCE from perf.h header 2014-05-05 17:49:07 +02:00
lguest
lib tools: Consolidate types.h 2014-05-01 21:22:39 +02:00
net bpf_dbg: fix wrong register usage 2014-04-30 16:12:22 -04:00
nfsd
perf perf session: Fix possible null pointer dereference in session.c 2014-05-16 09:18:51 +02:00
power tools/power/acpi: Minor bugfixes 2014-04-21 22:51:58 +02:00
scripts
testing This just contains a single update by Satoru Takeuchi, which adds 2014-04-04 21:27:43 -07:00
thermal/tmon
usb
virtio tools: Consolidate types.h 2014-05-01 21:22:39 +02:00
vm tools/vm/page-types.c: page-cache sniffing feature 2014-04-07 16:35:52 -07:00
Makefile