git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3141
if (need_help) {
VG_(clexecfd) = -1;
- // Set the minimal number of entries in 'info' to continue.
- info->interp_name = NULL;
- info->interp_args = NULL;
+ // Totally zero 'info' before continuing.
+ VG_(memset)(info, 0, sizeof(*info));
} else {
Int ret;
VG_(clexecfd) = VG_(open)(exec, VKI_O_RDONLY, VKI_S_IRUSR);
if (tte->orig_addr == VG_TTE_EMPTY) continue;
/* all others should agree with the TC entry. */
tce = tte->tcentry;
+ // XXX: 64-bit cleanness: should this be IS_WORD_ALIGNED_ADDR?
vg_assert(IS_ALIGNED4_ADDR(tce));
/* does this point into a valid TC sector? */
for (s = 0; s < VG_TC_N_SECTORS; s++)