diff options
author | Mark Wielaard <mjw@redhat.com> | 2015-05-16 21:30:41 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2015-05-27 23:04:31 +0200 |
commit | bfb9a752c323b97bfcfb11f4f9dbf4ca25fe3c95 (patch) | |
tree | 933cb01b7ddedd67b62d76503a215f3d71f7607f /libelf/libelfP.h | |
parent | 6f2e64a03bdf10d5b0ab730e58aedb8dfb76b6d8 (diff) | |
download | android_external_elfutils-bfb9a752c323b97bfcfb11f4f9dbf4ca25fe3c95.tar.gz android_external_elfutils-bfb9a752c323b97bfcfb11f4f9dbf4ca25fe3c95.tar.bz2 android_external_elfutils-bfb9a752c323b97bfcfb11f4f9dbf4ca25fe3c95.zip |
libelf: Fix possible unbounded stack usage in elf_getarsym.
The number of entries in the index can be large, don't use alloca to
read in temporary data, use malloc (and free after out).
Signed-off-by: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'libelf/libelfP.h')
0 files changed, 0 insertions, 0 deletions