commit | be17786f9df7a59df24d2c1b4b2d36614da8e241 | [log] [tgz] |
---|---|---|
author | Mark Wielaard <mjw@redhat.com> | Mon May 18 16:23:06 2015 +0200 |
committer | Mark Wielaard <mjw@redhat.com> | Wed May 27 23:04:31 2015 +0200 |
tree | 3593ae72fc1957bb2ed6cecdac6ad6fc4109bcea | |
parent | 390dd3d21c5b92dda139da744edae7093d70fc9b [diff] |
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>