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: 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.

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