Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96994
b: refs/heads/master
c: 23c4971
h: refs/heads/master
v: v3
  • Loading branch information
WANG Cong authored and Al Viro committed May 16, 2008
1 parent 98ea9d5 commit 1fe0221
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 08a6fac1c63233c87eec129938022f1a9a4d51f6
refs/heads/master: 23c4971e3d97de4e1b7961ca6eacee35aa15ce5f
4 changes: 2 additions & 2 deletions trunk/fs/binfmt_elf.c
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ create_elf_tables(struct linux_binprm *bprm, struct elfhdr *exec,
return -EFAULT;
len = strnlen_user((void __user *)p, MAX_ARG_STRLEN);
if (!len || len > MAX_ARG_STRLEN)
return 0;
return -EINVAL;
p += len;
}
if (__put_user(0, argv))
Expand All @@ -268,7 +268,7 @@ create_elf_tables(struct linux_binprm *bprm, struct elfhdr *exec,
return -EFAULT;
len = strnlen_user((void __user *)p, MAX_ARG_STRLEN);
if (!len || len > MAX_ARG_STRLEN)
return 0;
return -EINVAL;
p += len;
}
if (__put_user(0, envp))
Expand Down

0 comments on commit 1fe0221

Please sign in to comment.