commit | 3b3a19190ed40617b33abaeac6f2341233759815 | [log] [tgz] |
---|---|---|
author | Mark Wielaard <mjw@redhat.com> | Mon Nov 17 23:35:28 2014 +0100 |
committer | Mark Wielaard <mjw@redhat.com> | Mon Nov 17 23:42:56 2014 +0100 |
tree | 1fab30ace316f40f34219e97a3a14aa2234507dd | |
parent | 5c1a45c2d370e7fd1149fa74a9382e202fbfe8fe [diff] |
readelf: When the version chain ends, stop processing the entries. The version definition, auxiliary version, version dependency and needed version sections chain information together through "next" fields. When the "next" field is zero there are no more information entries. Stop processing when we see zero instead of repeatedly processing the same entry (at offset zero from the current one). Signed-off-by: Mark Wielaard <mjw@redhat.com>