git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fs/binfmt_elf.c:load_elf_binary(): return -EINVAL on zero-length mappings
[pandora-kernel.git]
/
fs
/
binfmt_elf.c
diff --git
a/fs/binfmt_elf.c
b/fs/binfmt_elf.c
index
e314d98
..
d252462
100644
(file)
--- a/
fs/binfmt_elf.c
+++ b/
fs/binfmt_elf.c
@@
-813,7
+813,7
@@
static int load_elf_binary(struct linux_binprm *bprm, struct pt_regs *regs)
total_size = total_mapping_size(elf_phdata,
loc->elf_ex.e_phnum);
if (!total_size) {
-
error
= -EINVAL;
+
retval
= -EINVAL;
goto out_free_dentry;
}
}