]> git.ipfire.org Git - thirdparty/elfutils.git/commit
readelf: Make sure phdr2_mem lifetime/scope equals phdr2 pointer.
authorMark Wielaard <mjw@redhat.com>
Thu, 18 Jun 2015 18:24:39 +0000 (20:24 +0200)
committerMark Wielaard <mjw@redhat.com>
Fri, 19 Jun 2015 11:10:22 +0000 (13:10 +0200)
commit222cd82a154bc1805fa1631e8fa0269482d5be27
treed356fe5bfd8f3de35f2980fdd7a1748d0f79ac4e
parent9075ff6aebb67d9ef2a5b53d1ae35c55590edcf7
readelf: Make sure phdr2_mem lifetime/scope equals phdr2 pointer.

We dont' want GCC to dispose or reuse phdr2_mem stack memory while phdr2
is pointing to it.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
src/ChangeLog
src/readelf.c