]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libelf: getdata check 64bit values correctly on 32bit arch.
authorMark Wielaard <mjw@redhat.com>
Sun, 16 Nov 2014 10:19:29 +0000 (11:19 +0100)
committerMark Wielaard <mjw@redhat.com>
Sun, 16 Nov 2014 10:19:34 +0000 (11:19 +0100)
commit502430c7b2f5ad6bc14a268d8b85e032db970c63
tree5fd6d090e5cc21ec329287e8c238cdc46b73378b
parentd1b1163213dcbe36748b45a8944723a78ddda94e
libelf: getdata check 64bit values correctly on 32bit arch.

On 32bit arches size_t is too small to do size and overflow checks
of 64bit ELF files. Use the actual Elf64 types to make sure checks
on 64bit ELF files are done correctly on 32bit arches.

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