This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] libelf: Make sure shdrs are valid before storing extended phnum in newphdr.


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]