Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fs/binfmt_elf.c:load_elf_binary(): return -EINVAL on zero-length mapp…
…ings commit 2b1d3ae upstream. load_elf_binary() returns `retval', not `error'. Fixes: a87938b ("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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
- Loading branch information