]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libelf: Copy over any leftover data from src to dest in elf_cvt_note.
authorMark Wielaard <mjw@redhat.com>
Sun, 23 Nov 2014 14:27:23 +0000 (15:27 +0100)
committerMark Wielaard <mjw@redhat.com>
Wed, 26 Nov 2014 19:21:44 +0000 (20:21 +0100)
commit51abc748db839f35589611f7129168728a1ebcc0
treeb8d186328019ec459c46d68426dceae5a5e836e3
parent9644aaff5f2872061b1a09afac3f2d0d4ad9a1c2
libelf: Copy over any leftover data from src to dest in elf_cvt_note.

If any data is left then the data is likely part of the truncated note
name/desc. This probably means the note is corrupted, but it is better
to have the actual data in dest instead of random uninitialized memory.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
libelf/ChangeLog
libelf/note_xlate.h