diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/arbits/slbt_archive_meta.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arbits/slbt_archive_meta.c b/src/arbits/slbt_archive_meta.c index 9a9540f..45f47fd 100644 --- a/src/arbits/slbt_archive_meta.c +++ b/src/arbits/slbt_archive_meta.c @@ -508,7 +508,7 @@ static int slbt_ar_parse_primary_armap_sysv_32( cap = memberp->ar_object_data; cap += memberp->ar_object_size; - if (cap == m->symstrs) + if ((cap == m->symstrs) && nsyms) return SLBT_CUSTOM_ERROR( dctx, SLBT_ERR_AR_INVALID_ARMAP_STRING_TABLE); |