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] Always call gelf_fsize with EV_CURRENT as argument.


On Fri, 2015-05-08 at 17:58 +0200, Mark Wielaard wrote:
> Don't trust the elf version given by the file. It could be completely
> bogus. In which case gelf_fsize just returns zero. Which could cause
> divide by zero errors.

Pushed to master.

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