Signed-off-by: Mark Wielaard <mjw@redhat.com>
+2012-10-01 Mark Wielaard <mjw@redhat.com>
+
+ * derelocate.c (find_section): Check next section exists before
+ accessing it.
+
2012-08-01 Petr Machata <pmachata@redhat.com>
* offline.c (process_archive_member): Ignore entry "/SYM64/".
inside the next one. A section limit address can appear in
line records. */
if (*addr == sections->refs[idx].end
- && idx < sections->count
+ && idx + 1 < sections->count
&& *addr == sections->refs[idx + 1].start)
++idx;