mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
fs/binfmt_elf.c:load_elf_binary(): return -EINVAL on zero-length mappings
commit2b1d3ae940upstream. load_elf_binary() returns `retval', not `error'. Fixes:a87938b2e2("fs/binfmt_elf.c: fix bug in loading of PIE binaries") Reported-by: James Hogan <james.hogan@imgtec.com> Cc: Michael Davidson <md@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
parent
ba55aba5bd
commit
f06ca7b488
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue