[PATCH] libelf: ar_size cannot be negative. Fix max ar size.

Mark Wielaard mjw at redhat.com
Mon Jan 12 21:04:04 UTC 2015


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.


More information about the elfutils-devel mailing list