commit | 2ec518247897bfa41327db2627e1e6112e5d59da | [log] [tgz] |
---|---|---|
author | Mark Wielaard <mjw@redhat.com> | Sun May 31 16:05:34 2015 +0200 |
committer | Mark Wielaard <mjw@redhat.com> | Fri Jun 05 14:48:55 2015 +0200 |
tree | d69c7b7ac2e5a6b942fc948b4a60decb3196abff | |
parent | f78e8640475ac1ea0b29bff79fbc77c0dfa47657 [diff] |
libelf: Fix possible unbounded stack usage in getphdr_wrlock. When a copy needs to be made of the phdrs, allocate with malloc and free after conversion instead of calling alloca. Signed-off-by: Mark Wielaard <mjw@redhat.com>