Fix: event-expr-to-bytecode: use after free in logging on error
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 9 Mar 2021 21:39:11 +0000 (16:39 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 9 Mar 2021 21:39:11 +0000 (16:39 -0500)
commita3088f1a14942fade23f14d778ca635305fb6e84
tree68c887b8a1449f78c21ec623860c0d13a382745d
parentc1710c3bcf2e90d6f4cad986ee8d31f9b3c10f5d
Fix: event-expr-to-bytecode: use after free in logging on error

1448709 Use after free

This could cause an immediate crash or incorrect values might be read
subsequently resulting in incorrect computations.

In event_expr_to_bytecode_recursive: A pointer to freed memory is
dereferenced, used as a function argument, or otherwise used (CWE-416)

Reported-by: Coverity Scan
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ifde0e21dbf6bf08be07b38f9c38896bdce973132
src/common/event-expr-to-bytecode.c
This page took 0.025621 seconds and 4 git commands to generate.