Fix: lttng-elf: untrusted entry size divisor
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 16 Mar 2022 21:29:11 +0000 (17:29 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 16 Mar 2022 21:29:11 +0000 (17:29 -0400)
commita395e0790af821e6cbd2b73ec907447c728cbfff
tree8de082c4d148053ec0292cddf2c6270f17bac894
parent2cbf7eadeed013c4599acc991de40e2fb66afc06
Fix: lttng-elf: untrusted entry size divisor

1405557 Untrusted divisor
The divisor could be controlled by an attacker, who could cause a division by zero.

In lttng_elf_get_symbol_offset: An unscrutinized value from an untrusted source used as a divisor (CWE-369)

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I029708a0df4f62fe0031e374d50839c26f4f3f4b
src/common/lttng-elf.cpp
This page took 0.024528 seconds and 4 git commands to generate.