This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH] Always call gelf_fsize with EV_CURRENT as argument.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Wed, 13 May 2015 16:41:05 +0200
- Subject: 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.