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>
Thu, 17 Mar 2022 17:36:01 +0000 (13:36 -0400)
commita511b2591727bc36a264591431a632abc3026d4e
tree1b13495cb3a7aeb77a98480f9a71cd314c3189ba
parent856b414b638f61c09f57227eedc7ca891049fd19
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.c
This page took 0.024485 seconds and 4 git commands to generate.