aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/cache.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/elf/cache.c b/elf/cache.c
index 0988593..393b4e5 100644
--- a/elf/cache.c
+++ b/elf/cache.c
@@ -675,7 +675,6 @@ load_aux_cache (const char *aux_cache_name)
if (aux_cache == MAP_FAILED
|| aux_cache_size < sizeof (struct aux_cache_file)
|| memcmp (aux_cache->magic, AUX_CACHEMAGIC, sizeof AUX_CACHEMAGIC - 1)
- || aux_cache->nlibs < 0
|| aux_cache->nlibs >= aux_cache_size)
{
close (fd);