This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] strip: Harden against bogus input files. Don't leak temp debug file on error.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 18 May 2015 15:54:25 +0200
- Subject: Re: [PATCH] strip: Harden against bogus input files. Don't leak temp debug file on error.
On Fri, 2015-05-15 at 11:55 +0200, Mark Wielaard wrote:
> On Tue, 2015-05-12 at 16:01 +0200, Mark Wielaard wrote:
> > There were various places where a bogus/unexpected input file would cause
> > eu-strip to crash. Also on an unexpected error eu-strip would leak the temp
> > debug file it was writing.
>
> After some more fuzzing another issue popped up. We should check
> nbuckets isn't zero before using it.
>
> [...]
>
> Integrated into the existing patch and updated the mjw/pending branch.
Pushed this version to master. Some more days of fuzzing didn't show up
anything else.