Fix an illegal memory access when parsing a corrupt core note.
authorNick Clifton <nickc@redhat.com>
Fri, 30 Apr 2021 13:19:24 +0000 (14:19 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 30 Apr 2021 13:19:24 +0000 (14:19 +0100)
commit9f84cb380e8403ad4f1184fd09af475c17fd8835
tree46be58b8bc60780a6bbb9251f11f7e5587228406
parent6cb40a679b23b07b9fe0c43147d300b630deec70
Fix an illegal memory access when parsing a corrupt core note.

PR 27799
* elf32-xtensa.c (elf_xtensa_grok_prstatus): Check for core notes
that are too small.
bfd/ChangeLog
bfd/elf32-xtensa.c