Return NULL on corrupt input
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 6 Jan 2015 01:43:34 +0000 (17:43 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 6 Jan 2015 01:43:34 +0000 (17:43 -0800)
commit533d0af0b8a8127b6f189222fc57aa11ce7aab2c
treeabc39b089488c67a6e935517b03a6e1917e3c6a4
parent9c90714c2f94b4486f56fcd9dcb70e27d983f7df
Return NULL on corrupt input

PR binutils/17512
* elf32-i386.c (elf_i386_get_plt_sym_val): Return NULL on corrupt
input.
* elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c