Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2017 23:13:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 218860] libelf doesn't reload section headers after update with ELF_C_WRITE
Message-ID:  <bug-218860-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218860

            Bug ID: 218860
           Summary: libelf doesn't reload section headers after update
                    with ELF_C_WRITE
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: emc2@metricspace.net

Created attachment 182064
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D182064&action=
=3Dedit
Patch to fix the problem

The libelf library in base doesn't reload section headers after clearing th=
em
when performing an elf_update with ELF_C_WRITE.  This is because it fails to
clear a flag indicating that the section headers have been loaded.

This is fixed with the attached patch.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218860-8>