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:50:26 +0000 (13:50 -0400)
commit339ab1de3d02379aa67ffcba6c324803a3b6f3f2
tree3fc679c86234e6484755786a4717b0ed24393751
parent420e125556b416f84193298c239410018a228697
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.025477 seconds and 4 git commands to generate.