diff options
Diffstat (limited to 'bfd/archive.c')
-rw-r--r-- | bfd/archive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/archive.c b/bfd/archive.c index 5e0fd6b..1c28ee2 100644 --- a/bfd/archive.c +++ b/bfd/archive.c @@ -373,7 +373,7 @@ get_extended_arelt_filename (bfd *arch, const char *name, file_ptr *originp) { file_ptr origin = strtol (endp + 1, NULL, 10); - if (errno != 0 || index >= bfd_ardata (arch)->extended_names_size) + if (errno != 0) { bfd_set_error (bfd_error_malformed_archive); return NULL; |