This is a fix for PR binutils/16723, where a corrupt .gnu.version_r section could
authorNick Clifton <nickc@redhat.com>
Wed, 19 Mar 2014 16:48:02 +0000 (16:48 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 19 Mar 2014 16:48:02 +0000 (16:48 +0000)
commitc24cf8b6e831967c353f0c518e180cea689c0b58
tree62349e2dfa25c2a135570cee69bcd1a8b7207977
parentec92c392f7d6b4f43d6191a0d3fa1cd47db9f738
This is a fix for PR binutils/16723, where a corrupt .gnu.version_r section could
send readelf into an infinite loop.

* readelf.c (process_version_sections): Prevent an infinite loop
when the vn_next field is zero but there are still entries to be
processed.
binutils/ChangeLog
binutils/readelf.c