This is the mail archive of the
mailing list for the binutils project.
Re: [patch bfd]: Prevent possible buffer overflow on pdata-section sorting
2011/4/7 Alan Modra <email@example.com>:
> 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.
So this 1% hits. I changed locally to use here just sec->size and I
found that pdata section doesn't get sorted proper anymore. (you can
verify this by objdump -x and it prints warnings about not ascending
So I strictly want to stick here to my posted patch, as other