[PATCH] libelf: Make sure shdrs are valid before storing extended phnum in newphdr.
Mark Wielaard
mjw at redhat.com
Mon May 18 13:51:58 UTC 2015
On Tue, 2015-05-12 at 15:19 +0200, Mark Wielaard wrote:
> Creating phdr with more than PN_XNUM phnum requires a valid section zero
> shdr to store the extended value. Make sure the shdrs are valid. Also fix
> the error when count was too big to store by setting ELF_E_INVALID_INDEX
> before failing.
Pushed to master.
More information about the elfutils-devel
mailing list