Re: [PATCH] readelf: Make sure print_form_data always consumes DW_FORM_strx[1234] data.

2018-06-16 Thread Mark Wielaard
On Thu, 2018-06-14 at 01:10 +0200, Mark Wielaard wrote: > Found by afl-fuzz. When printing DW_FORM_strx[1234] data eu-readelf didn't > increase readp which meant eu-readelf would keep printing the same line > dirs or files encoded with strx[1234] names. This meant that for insane > large dir or fil

[PATCH] readelf: Make sure print_form_data always consumes DW_FORM_strx[1234] data.

2018-06-13 Thread Mark Wielaard
Found by afl-fuzz. When printing DW_FORM_strx[1234] data eu-readelf didn't increase readp which meant eu-readelf would keep printing the same line dirs or files encoded with strx[1234] names. This meant that for insane large dir or file counts eu-readelf would just keep printing endlessly because w