commit | 183445093ebd6be285e29f75b877e62a723918c6 | [log] [tgz] |
---|---|---|
author | Nick Clifton <nickc@redhat.com> | Fri Jan 25 13:16:06 2019 +0000 |
committer | Nick Clifton <nickc@redhat.com> | Fri Jan 25 13:16:06 2019 +0000 |
tree | e2cded412b9707f6f31ad6f88cc697a54d1ee6fc | |
parent | 9ed1348c2008f54368f0fd989a0bf2de8b93329a [diff] |
Prevent a potential illegal memory access in readelf when parsing a note with a zero name size. PR 24131 * readelf.c (process_notes_at): Prevent an illegal memory access when the note's namesize is zero. (decode_tic6x_unwind_bytecode): Add code to handle the case where no registers are specified in a frame pop instruction.