summaryrefslogtreecommitdiffstats
path: root/kernel/marker.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2008-10-22 19:14:55 +0200
committerIngo Molnar <mingo@elte.hu>2008-10-27 16:45:46 +0100
commitf66af459a931f25807e1df7915b2b66bb5978d82 (patch)
treebb88917429fe1ea4f6d6e088ead040b25d205a86 /kernel/marker.c
parentasm-generic: define DIE_OOPS in asm-generic (diff)
downloadlinux-f66af459a931f25807e1df7915b2b66bb5978d82.tar.xz
linux-f66af459a931f25807e1df7915b2b66bb5978d82.zip
tracepoint: check if the probe has been registered
Impact: fix kernel crash that can trigger during tracing If we try to remove a probe that has not been already registered, the tracepoint_entry_remove_probe() function will dereference a NULL pointer. Check the probe before removing it to avoid crashes. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Acked-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Acked-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/marker.c')
0 files changed, 0 insertions, 0 deletions