Fix: bytecode linker: validate event and field array/sequence encoding
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 22 Mar 2021 16:52:54 +0000 (12:52 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 22 Mar 2021 17:34:22 +0000 (13:34 -0400)
commit3415bfe5235453f16b9b286754ec1edd200bd290
tree7305192196b50937fb5c5c8555d6dabb84d0fb3e
parent9daacd1a32798bcef31f13cf45a3aab25bdc67af
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: I7e0d42dc53738f36af372b4352c44bc1fff916d1
liblttng-ust/lttng-bytecode.c
This page took 0.024781 seconds and 4 git commands to generate.