Searched hist:f66af459a931f25807e1df7915b2b66bb5978d82 (Results 1 – 1 of 1) sorted by relevance
/linux/kernel/ |
H A D | tracepoint.c | diff f66af459a931f25807e1df7915b2b66bb5978d82 Wed Oct 22 19:14:55 CEST 2008 Frederic Weisbecker <fweisbec@gmail.com> 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>
|