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:44:41 +0000 (14:44 -0400)
commit5f7779c5265d15bd087fde0b2694249e11ea9472
treef8ee1d65c4c5a8acabf32b7cebda1689b1aeeac3
parent62c465b685a72e86d0a2b6ac54b83c17e1c75b37
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.027287 seconds and 4 git commands to generate.