This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH] unstrip: Fix off by one array access with unstripped_strent.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 11 Jul 2016 10:00:30 +0200
- Subject: Re: [PATCH] unstrip: Fix off by one array access with unstripped_strent.
On Wed, 2016-07-06 at 21:43 +0200, Mark Wielaard wrote:
> When configuring with --enable-sanitize-undefined the latest GCC found
> an array out of bounds access when running the un-strip-strmerge.sh test.
> We keep an array of section names. But skipped section zero, since it
> didn't have a name. We should however not actually skip the first array
> index (zero) when storing and reading the names.
I pushed this to master.