[Bug tools/25077] unstrip bad handling of sh_entsize of the symver section

mark at klomp dot org sourceware-bugzilla@sourceware.org
Sat Oct 26 00:28:00 GMT 2019


Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Mark Wielaard <mark at klomp dot org> ---
commit da5a32a400da6a03a96f0aff10aff2d86bd9baad (HEAD -> master)
Author: Mark Wielaard <mark@klomp.org>
Date:   Sat Oct 19 14:37:46 2019 +0200

    unstrip: Don't try to write extra bogus versym data.

    If the sh_entsize of the symver section was bogus (bigger than necessary)
    then some bogus data would be written out (except that then fails because
    pwrite would probably fail). Fix that by ignoring the bogus sh_entsize
    and use the actual symver data size.


    Signed-off-by: Mark Wielaard <mark@klomp.org>

You are receiving this mail because:
You are on the CC list for the bug.

More information about the Elfutils-devel mailing list