[patch bfd]: Prevent possible buffer overflow on pdata-section sorting

Alan Modra amodra@gmail.com
Thu Apr 7 08:52:00 GMT 2011


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



More information about the Binutils mailing list