]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdwfl: Make sure that ph_buffer_size has room for at least one phdr
authorMark Wielaard <mark@klomp.org>
Sun, 19 Dec 2021 19:23:30 +0000 (20:23 +0100)
committerMark Wielaard <mark@klomp.org>
Sun, 19 Dec 2021 19:23:30 +0000 (20:23 +0100)
commitfece8e1469d22abe524f15805527ea0173e52f04
tree77b5aa6b8f4916ac414957c28df577d2c56cb39b
parentaab1cc4c0313cd0a0ad9b7ecf794301126daab15
libdwfl: Make sure that ph_buffer_size has room for at least one phdr

dwfl_segment_report_module might otherwise try to handle half a phdr
taking the other half from after the buffer.

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