]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdwfl: elf-from-memory.c (elf_from_remote_memory): Check against p64 p_type.
authorMark Wielaard <mjw@redhat.com>
Wed, 26 Feb 2014 16:17:07 +0000 (17:17 +0100)
committerMark Wielaard <mjw@redhat.com>
Wed, 26 Feb 2014 16:18:49 +0000 (17:18 +0100)
commit48827ec6cb2169bad15baf7702f86c4bf2847beb
tree3f055e28ae298bf89260c492b947053741873665
parentcb7b2d64b6fdbbb6f18ce07294b2315f60d843bc
libdwfl: elf-from-memory.c (elf_from_remote_memory): Check against p64 p_type.

There was a type in the case of parsing ELFCLASS64 phdrs. Check against
p64 p_type, not the p32 p_type which at a different location in the union.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
libdwfl/ChangeLog
libdwfl/elf-from-memory.c