[Bug libdw/23782] Negative-size-param in call to in memchr from readelf print_debug_frame_section

2018-10-16 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23782 Mark Wielaard changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[PATCH] readelf: Make sure readp is smaller than cieend in print_debug_frame_section.

2018-10-16 Thread Mark Wielaard
We could end up with a negative length in a call to memchr. https://sourceware.org/bugzilla/show_bug.cgi?id=23782 Signed-off-by: Mark Wielaard --- src/ChangeLog | 5 + src/readelf.c | 12 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/Chang

[Bug libdw/23782] Negative-size-param problem in dwfl_getmodules.c in libdw, please use the POC to reproduce this bug.

2018-10-16 Thread wcventure at 126 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23782 --- Comment #2 from wcventure --- Created attachment 11333 --> https://sourceware.org/bugzilla/attachment.cgi?id=11333&action=edit POC3 -- You are receiving this mail because: You are on the CC list for the bug.

[Bug libdw/23782] Negative-size-param problem in dwfl_getmodules.c in libdw, please use the POC to reproduce this bug.

2018-10-16 Thread wcventure at 126 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23782 --- Comment #1 from wcventure --- Created attachment 11332 --> https://sourceware.org/bugzilla/attachment.cgi?id=11332&action=edit POC2 -- You are receiving this mail because: You are on the CC list for the bug.

[Bug libdw/23782] New: Negative-size-param problem in dwfl_getmodules.c in libdw, please use the POC to reproduce this bug.

2018-10-16 Thread wcventure at 126 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23782 Bug ID: 23782 Summary: Negative-size-param problem in dwfl_getmodules.c in libdw, please use the POC to reproduce this bug. Product: elfutils Version: unspecified Stat