This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH 2/2 v2] Generalize cu_sec_idx
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.