Skip to content
Snippets Groups Projects
Commit e7f703ff authored by Wang Yufen's avatar Wang Yufen Committed by Kees Cook
Browse files

binfmt: Fix error return code in load_elf_fdpic_binary()


Fix to return a negative error code from create_elf_fdpic_tables()
instead of 0.

Fixes: 1da177e4 ("Linux-2.6.12-rc2")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarWang Yufen <wangyufen@huawei.com>
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/1669945261-30271-1-git-send-email-wangyufen@huawei.com
parent cd57e443
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment