diff options
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/dynlink.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ldso/dynlink.c b/ldso/dynlink.c index 42b078cf..c2447bc9 100644 --- a/ldso/dynlink.c +++ b/ldso/dynlink.c @@ -1410,7 +1410,8 @@ hidden void __dls2(unsigned char *base, size_t *sp) void *p2 = (void *)sp[-1]; if (!p1) { size_t *auxv, aux[AUX_CNT]; - for (auxv=sp+1+*sp+1; *auxv; auxv++); auxv++; + for (auxv=sp+1+*sp+1; *auxv; auxv++); + auxv++; decode_vec(auxv, aux, AUX_CNT); if (aux[AT_BASE]) ldso.base = (void *)aux[AT_BASE]; else ldso.base = (void *)(aux[AT_PHDR] & -4096); |