]> git.ipfire.org Git - thirdparty/elfutils.git/commit
gelf_getnote: Check padding overflow.
authorMark Wielaard <mjw@redhat.com>
Sun, 16 Nov 2014 10:30:51 +0000 (11:30 +0100)
committerMark Wielaard <mjw@redhat.com>
Sun, 16 Nov 2014 10:30:51 +0000 (11:30 +0100)
commit8ea90b7a5c030321d70bea246c989fc18c404a14
treec2467be3ca1aa575c14b1cf8d34e1cfbe1a5f4de
parent502430c7b2f5ad6bc14a268d8b85e032db970c63
gelf_getnote: Check padding overflow.

Since ELF notes need to be properly aligned they can include padding.
Make sure the padding itself and the padding calculation doesn't overflow.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
libelf/ChangeLog
libelf/gelf_getnote.c