Fix: bytecode linker: validate event and field array/sequence encoding
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 22 Mar 2021 18:23:44 +0000 (14:23 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 22 Mar 2021 18:24:46 +0000 (14:24 -0400)
commit1d7f24e135f4e7442b4aec60db8e9d17a651b8db
treeb698b66a36909b6c71437637dcc0340f839b3d4b
parent5d519a990b9edfe86cc0d99d542b3bf17f3b576f
Fix: bytecode linker: validate event and field array/sequence encoding

The bytecode linker should only allow linking filter expressions loading
fields which are string-encoded arrays and sequence for comparison
against a string, and reject arrays and sequences without encoding, so
the filter interpreter does not attempt to load non-NULL terminated
arrays/sequences as if they were strings.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ic13fbbb0d601eddbb7d98f4a5e13fe3f45612fd8
liblttng-ust/lttng-filter.c
This page took 0.025021 seconds and 4 git commands to generate.