this could only happen if an incomplete auxv was passed into the
program, but it's better to just initialize the data anyway.
size_t base = 0;
size_t n;
struct dl_phdr_info info;
size_t base = 0;
size_t n;
struct dl_phdr_info info;
- size_t i, aux[AUX_CNT];
+ size_t i, aux[AUX_CNT] = {0};
for (i=0; libc.auxv[i]; i+=2)
if (libc.auxv[i]<AUX_CNT) aux[libc.auxv[i]] = libc.auxv[i+1];
for (i=0; libc.auxv[i]; i+=2)
if (libc.auxv[i]<AUX_CNT) aux[libc.auxv[i]] = libc.auxv[i+1];