diff options
author | Mark Wielaard <mjw@redhat.com> | 2015-05-18 16:23:06 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2015-05-27 23:04:31 +0200 |
commit | be17786f9df7a59df24d2c1b4b2d36614da8e241 (patch) | |
tree | 3593ae72fc1957bb2ed6cecdac6ad6fc4109bcea /libdwfl/dwfl_module_getdwarf.c | |
parent | 390dd3d21c5b92dda139da744edae7093d70fc9b (diff) | |
download | elfutils-be17786f9df7a59df24d2c1b4b2d36614da8e241.tar.gz |
libdwfl: Fix possible unbounded stack usage in cache_sections.
For modules with lots of sections cache_sections could blow up the stack
theoretically. Don't use alloca, but use malloc with explicit free.
Signed-off-by: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'libdwfl/dwfl_module_getdwarf.c')
0 files changed, 0 insertions, 0 deletions