]> git.lttng.org Git - lttng-ust.git/commit
Fix: bytecode validator: reject specialized load instructions
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 29 Sep 2022 20:50:09 +0000 (16:50 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 29 Sep 2022 20:50:09 +0000 (16:50 -0400)
commit68797af87e303004cf6c0298e1562ea462ad48be
tree925e1122fe3183d51d9aba7badff094f4fa61a8c
parent7496c9f18349fbbd9244339f2cf59d94321ecb9a
Fix: bytecode validator: reject specialized load instructions

Reject specialized load instructions so a bytecode crafted with
nefarious intent cannot read a memory area larger than the memory
targeted by the instrumentation.

This prevents bytecode received from the session daemon from performing
out of bound memory accesses and from disclosing the content of
application memory beyond what has been targeted by the instrumentation.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Id81d73e890b29fe2ac6073681ef1faffc52ebfa7
liblttng-ust/lttng-filter-validator.c
This page took 0.028224 seconds and 4 git commands to generate.