Re: [PATCH] libdw: Detect bad DWARF in store_implicit_value.

2018-06-10 Thread Mark Wielaard
On Fri, Jun 08, 2018 at 04:18:58PM +0200, Mark Wielaard wrote: > The afl fuzzer running against the varlocs test detected we didn't report > the value block of a DW_OP_implicit_value consistently when the DWARF was > bad. Although this doesn't cause a crash it might result in consumers > using dwar

[PATCH] libdw: Detect bad DWARF in store_implicit_value.

2018-06-08 Thread Mark Wielaard
The afl fuzzer running against the varlocs test detected we didn't report the value block of a DW_OP_implicit_value consistently when the DWARF was bad. Although this doesn't cause a crash it might result in consumers using dwarf_getlocation_implicit_value seeing an inconsistent block length value.