This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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 bfd]: Prevent possible buffer overflow on pdata-section sorting


On Thu, Apr 07, 2011 at 08:15:42AM +0200, Kai Tietz wrote:
> Hmm, not sure.

Well, I'm 99% sure. :-)  rawsize on an output section, if non-zero, is
just a stale size at bfd_final_link.

Hmm.  Which means bfd_get_section_contents is wrong to look at rawsize
on output sections.  Seems I have some bugs to fix.

-- 
Alan Modra
Australia Development Lab, IBM


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