git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08a6fac
)
[Patch] fs/binfmt_elf.c: fix wrong return values
author
WANG Cong
<xiyou.wangcong@gmail.com>
Thu, 8 May 2008 13:52:33 +0000
(21:52 +0800)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 16 May 2008 21:23:11 +0000
(17:23 -0400)
create_elf_tables() returns 0 on success. But when strnlen_user() "fails",
it returns 0 directly. So this is wrong.
Signed-off-by: WANG Cong <wangcong@zeuux.org>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/binfmt_elf.c
patch
|
blob
|
history
diff --cc
fs/binfmt_elf.c
Simple merge