This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]