diff --git a/fs/exec.c b/fs/exec.c index 9d92e7596..efaed9fb7 100755 --- a/fs/exec.c +++ b/fs/exec.c @@ -891,6 +891,7 @@ int transfer_args_to_stack(struct linux_binprm *bprm, goto out; } + bprm->exec += *sp_location - MAX_ARG_PAGES * PAGE_SIZE; *sp_location = sp; out: