Fix: bytecode linker: validate event and field array/sequence encoding
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 22 Mar 2021 18:35:53 +0000 (14:35 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 22 Mar 2021 18:35:53 +0000 (14:35 -0400)
commitfead3a9cead4912b325d22229f7ad2fe656108e6
tree71a99700c767e4ca38b50165032f3f7afdb3e7a3
parent92cc3e7f76a545a2cd4828576971f1eea83f4e68
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: I61213b736b2e41b55ad8d6b32a6db0f50494e316
lttng-filter.c
This page took 0.025539 seconds and 4 git commands to generate.