]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libcpu: Fix bounds checks and replace asserts with errors.
authorMark Wielaard <mark@klomp.org>
Sat, 19 Oct 2019 12:01:30 +0000 (14:01 +0200)
committerMark Wielaard <mark@klomp.org>
Sat, 26 Oct 2019 00:28:48 +0000 (02:28 +0200)
commit99dc63b10b3878616b85df2dfd2e4e7103e414b8
tree0978baaa4da8fcd5c660ff34fda16b53705624b2
parentda5a32a400da6a03a96f0aff10aff2d86bd9baad
libcpu: Fix bounds checks and replace asserts with errors.

Add a missing bounds check, fix an off-by-one bounds check and replace
asserts with error messages.

https://sourceware.org/bugzilla/show_bug.cgi?id=25068

Signed-off-by: Mark Wielaard <mark@klomp.org>
libcpu/ChangeLog
libcpu/i386_data.h
libcpu/i386_disasm.c