diff options
author | Mark Wielaard <mark@klomp.org> | 2019-10-19 14:37:46 +0200 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2019-10-26 02:21:38 +0200 |
commit | da5a32a400da6a03a96f0aff10aff2d86bd9baad (patch) | |
tree | a2b98076c343705fccbe4a9ff39c0442c5b40722 /libcpu/i386_disasm.c | |
parent | 9d3003f6b0baa94a53013fbefb4f6542bc532a6c (diff) |
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.
https://sourceware.org/bugzilla/show_bug.cgi?id=25077
Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'libcpu/i386_disasm.c')
0 files changed, 0 insertions, 0 deletions