[Bug tools/24116] A Heap-buffer-overflow problem was discovered in the function print_debug_line_section in readelf.c

2019-01-22 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24116 Mark Wielaard changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug libdw/24102] A Heap-buffer-overflow problem was discovered in the function read_srclines in dwarf_getsrclines.c in libdw

2019-01-22 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24102 Mark Wielaard changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libdw/24103] dwfl_segment_report_module doesn't check whether the dyn data read from core file is truncated

2019-01-22 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24103 Mark Wielaard changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

Re: MIPS Elfutils support?

2019-01-22 Thread Mark Wielaard
Hi Luke, On Sun, 2019-01-20 at 16:42 +, Luke Diamand wrote: > I was hoping to use elfutils on some MIPS core files. So I was > wondering what the status is? > > There is a patch in Debian (apparently originally from RedHat?) here: > https://sources.debian.org/src/elfutils/0.175-2/debian/patc

[PATCHv2 2/2] eu-stack: add support for sysroot option

2019-01-22 Thread Luke Diamand
Use the dwfl_set_sysroot() function to set the sysroot to be used when analysing a core: e.g. $ eu-stack --core core --sysroot /path/to/sysroot -e crashing_prog Signed-off-by: Luke Diamand --- src/stack.c | 9 + 1 file changed, 9 insertions(+) diff --git a/src/stack.c b/src/stack.c

[PATCHv2 1/2] libdwfl: specify optional sysroot to search for shared libraries

2019-01-22 Thread Luke Diamand
When searching the list of modules in a core file, if the core was generated on a different system to the current one, we need to look in a sysroot for the various shared objects. For example, we might be looking at a core file from an ARM system using elfutils running on an x86 host. This change

[PATCHv2 0/2] specify a sysroot to search when examining a core file

2019-01-22 Thread Luke Diamand
This updates my patch to check for a NULL sysroot, as pointed out by Dmitry, and to canonicalize sysroot. https://sourceware.org/ml/elfutils-devel/2019-q1/msg00071.html Luke Diamand (2): libdwfl: specify optional sysroot to search for shared libraries eu-stack: add support for sysroot option

[Bug tools/24116] A Heap-buffer-overflow problem was discovered in the function print_debug_line_section in readelf.c

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

[Bug tools/24116] A Heap-buffer-overflow problem was discovered in the function print_debug_line_section in readelf.c

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

[Bug tools/24116] New: A Heap-buffer-overflow problem was discovered in the function print_debug_line_section in readelf.c

2019-01-22 Thread wcventure at 126 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24116 Bug ID: 24116 Summary: A Heap-buffer-overflow problem was discovered in the function print_debug_line_section in readelf.c Product: elfutils Version: unspecified Statu