[PATCH 2/2 v2] Generalize cu_sec_idx
Mark Wielaard
mark@klomp.org
Thu Dec 21 20:22:00 GMT 2017
On Thu, Dec 21, 2017 at 02:48:15PM +0100, Ulf Hermann wrote:
> > yes, but the original code really was not correct. The attached patch
> > fixes it by adding an explicit sec_idx field to the Dwarf_CU struct
> > that is set whenever a struct Dwarf_CU is created, so that we never
> > have to guess.
> >
> > This patch combined with the overflow fix makes all testcases PASS.
>
> Looks good to me.
Thanks again. Pushed to master.
More information about the Elfutils-devel
mailing list