Do not trash the argv[0] pointer for an a.out process on amd64.

Found with the binary provided by joerg.
This commit is contained in:
Konstantin Belousov 2011-06-16 22:00:59 +00:00
parent 5a888c066f
commit 508462ed1b

View File

@ -152,7 +152,7 @@ aout_fixup(register_t **stack_base, struct image_params *imgp)
{
*(char **)stack_base -= sizeof(uint32_t);
return (suword(*stack_base, imgp->args->argc));
return (suword32(*stack_base, imgp->args->argc));
}
static int