[PATCH] libelf: Fix unaligned d_off offsets for input sections with large alignments

Andrei Homescu ah@immunant.com
Thu Jul 8 17:58:26 GMT 2021


On Thu, Jul 8, 2021 at 2:37 AM Mark Wielaard <mark@klomp.org> wrote:

> Hi Andrei,
>
> On Wed, 2021-07-07 at 13:24 -0700, Andrei Homescu wrote:
> > I wrote this patch on behalf of someone else, so the copyright line
> > should be:
> > Copyright (C) 2021 Runsafe Security, Inc.
>
> OK, changed.
>
> > > The testcase already fails before the patch and succeeds after, but
> > > it would be nice to double check the output with elflint just in
> > > case. Shall we add:
> > >
> > > testrun ${abs_top_builddir}/src/elflint --gnu $outfile
> >
> > Sounds good, no objection from me.
> > Should I submit an updated version of the patch, or can you add this
> > on your end?
>
> I made those two tweaks and pushed as:
>
>
> https://sourceware.org/git/?p=elfutils.git;a=commit;h=b3601167d7a4c9f34eb65c3892c9ef25e3c1c66f
>
> Thanks,
>
> Mark
>

That's great, thank you!
Andrei


More information about the Elfutils-devel mailing list