PR24876, readelf: heap-buffer-overflow in dump_ia64_unwind
authorAlan Modra <amodra@gmail.com>
Wed, 7 Aug 2019 02:20:28 +0000 (11:50 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 7 Aug 2019 02:30:06 +0000 (12:00 +0930)
commit906799036a9bcc2b6f27fbcf894092bdc03f6da9
treeeadcc6e5a8f73a73db402b7df6bd91c05a560c07
parent0cf9feb996cb32939840b13073a49310b1fd71e0
PR24876, readelf: heap-buffer-overflow in dump_ia64_unwind

PR 24876
* readelf.c (dump_ia64_unwind): Check that buffer is large
enough for "stamp" before reading.
binutils/ChangeLog
binutils/readelf.c