commit | de01cc6f9446187d69b9748bb3636361c79e77a4 | [log] [tgz] |
---|---|---|
author | Mark Wielaard <mark@klomp.org> | Wed Jan 16 14:41:31 2019 |
committer | Mark Wielaard <mark@klomp.org> | Wed Jan 16 14:41:31 2019 |
tree | 73d0ff2f46bc249a16d0da96d98c1d12c05fc145 | |
parent | e65d91d21cb09d83b001fef9435e576ba447db32 [diff] |
libebl: Check NT_PLATFORM core notes contain a zero terminated string. Most strings in core notes are fixed size. But NT_PLATFORM contains just a variable length string. Check that it is actually zero terminated before passing to readelf to print. https://sourceware.org/bugzilla/show_bug.cgi?id=24089 Signed-off-by: Mark Wielaard <mark@klomp.org>