]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libebl: Check GNU property note pr_datasz fits inside note description.
authorMark Wielaard <mark@klomp.org>
Wed, 16 Jan 2019 10:57:35 +0000 (11:57 +0100)
committerMark Wielaard <mark@klomp.org>
Wed, 16 Jan 2019 11:08:16 +0000 (12:08 +0100)
commit012018907ca05eb0ab51d424a596ef38fc87cae1
tree4032592ff089eeca3f7fe3b435a1d1b825255d33
parent9af7aaf9d99c508341ddd7c764a6576b1d0bb9b8
libebl: Check GNU property note pr_datasz fits inside note description.

Before printing the data values, make sure pr_datasz doesn't go beyond
the end of the note description data.

https://sourceware.org/bugzilla/show_bug.cgi?id=24075

Signed-off-by: Mark Wielaard <mark@klomp.org>
libebl/ChangeLog
libebl/eblobjnote.c