Fix: bytecode linker: validate event and field array/sequence encoding
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 22 Mar 2021 17:33:54 +0000 (13:33 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 22 Mar 2021 17:35:18 +0000 (13:35 -0400)
commit05f403d70515741afdc6c82243f8fc8351f213ac
tree6379fcc45bbba58cc24396b183a4160783dc8c57
parentc3eddb2e2effc01eee7bc778c21431bf45a8ffdc
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: Ia5f33ed036e310d66aee6b682ef0a17eb5b99982
src/lttng-bytecode.c
This page took 0.029649 seconds and 4 git commands to generate.