This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH] libelf: ar_size cannot be negative. Fix max ar size.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 12 Jan 2015 22:04:04 +0100
- Subject: Re: [PATCH] libelf: ar_size cannot be negative. Fix max ar size.
On Thu, 2014-12-25 at 23:28 +0100, Mark Wielaard wrote:
> Elf_Arhdr ar_size is loff_t, which is signed. Make sure it isn't negative.
> When the parent start_offset is non-zero maxsize should include it to
> compensate for ar offset.
I pushed this to master.