Re: [PATCH] libdw: Handle bogus CU length in dwarf_nextcu.

2018-06-25 Thread Mark Wielaard
On Fri, 2018-06-22 at 18:06 +0200, Mark Wielaard wrote: > The length field could be so big that it would wrap around the next_offset. > We don't really care that length is bogus, but we don't want to use it to > calculate the next offset if it is. Pushed to master.

[PATCH] libdw: Handle bogus CU length in dwarf_nextcu.

2018-06-22 Thread Mark Wielaard
The length field could be so big that it would wrap around the next_offset. We don't really care that length is bogus, but we don't want to use it to calculate the next offset if it is. Found by afl-fuzz. Signed-off-by: Mark Wielaard --- libdw/ChangeLog | 5 + libdw/dwarf_nextcu.c | 5