Please review the libelf changes on roland/pending. This fixes a case
where a suspicious input file makes eu-strip crash.
The libelf bug is that a dubious use of the library can make elf_update
crash in weirdness. The use is quite questionable, but does not involve
any bad pointers or sizes (just overlap in sh_offset), and so should not
cause wild memory clobberation. The alternative would be to make
elf_update barf with graceful error return for this use, I think.
The other fixes I didn't think you might mind I pushed onto master.
I think this is everything we'll need for an 0.138 release RSN.
In git, the propagate can be done with:
git checkout master
git pull origin roland/pending
git push
commit 534ad315b34c1fcce8f51ca8762fed1044dbaa47
Author: Roland McGrath <roland(a)redhat.com>
Date: Thu Dec 11 21:23:44 2008 -0800
Comment fix in last change.
commit 75b07c00481fa85152fed79a5c5132b09da49d32
Author: Roland McGrath <roland(a)redhat.com>
Date: Thu Dec 11 21:15:09 2008 -0800
Don't crash in fill code when sh_offset layout is out of order.
Thanks,
Roland