Fix: event notifier: set eval_capture to false for kprobe and uprobe
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 26 Jul 2024 20:02:04 +0000 (16:02 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 26 Jul 2024 20:04:45 +0000 (16:04 -0400)
commit305dd985458cad242a6ad489e5a2bc7a624e11e3
tree6a0b5b89042f285708711531774eae4fcc141833
parent28110085fa4aa33b1e18c7d334cbda6e1d0d619e
Fix: event notifier: set eval_capture to false for kprobe and uprobe

Trying to capture fields for kprobe and uprobe, event notifications
will end up dereferencing NULL pointers. Prevent execution of capture
code in those cases.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I7ee7e33b9d12986d79aabefcbd5ef91ed2c6d690
src/probes/lttng-kprobes.c
src/probes/lttng-uprobes.c
This page took 0.025844 seconds and 4 git commands to generate.