Fix: event notifier: set eval_capture to false for kprobe, kretprobe and uprobe
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 26 Jul 2024 19:39:58 +0000 (15:39 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 26 Jul 2024 20:05:17 +0000 (16:05 -0400)
commit01a3c59661c0960ae0771de8ba18c602085ee83c
tree7e297220bd6e4f0ca237db37fd9a429b701cf7d0
parent61baff6e8de2462f45006662bc34bcbf5f645ba0
Fix: event notifier: set eval_capture to false for kprobe, kretprobe and uprobe

Trying to capture fields for kprobe, kretprobe, 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: If86b0602351fb42047b184608b28108e9de0d183
src/lttng-kprobes.c
src/lttng-kretprobes.c
src/lttng-uprobes.c
This page took 0.025896 seconds and 4 git commands to generate.