summaryrefslogtreecommitdiff
path: root/backends/linux-core-note.c
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2016-07-06 21:31:54 +0200
committerMark Wielaard <mjw@redhat.com>2016-07-11 09:58:55 +0200
commit8c481b6fc53a1d1f50518896004dc5221862e126 (patch)
tree344765fede88dbbce6d4ade17eb8c408c9f07479 /backends/linux-core-note.c
parent8b5f017ddf1684e225ef59f9243ef411b2556e9c (diff)
downloadelfutils-8c481b6fc53a1d1f50518896004dc5221862e126.tar.gz
unstrip: Fix off by one array access with unstripped_strent.
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. Signed-off-by: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'backends/linux-core-note.c')
0 files changed, 0 insertions, 0 deletions