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:23:44 +0000 (14:23 -0400)
commitb82404da072680a71f4dfca66a24325304151643
treed120fad7d657b622d3c9135365e602768081cb7d
parent9f327dfe52bb19211f4bdef5206e94dd091af55e
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.025154 seconds and 4 git commands to generate.