diff options
author | Gary Lin <glin@suse.com> | 2020-04-09 15:04:33 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-04-14 08:32:16 +0200 |
commit | a4b81ccfd4caba017d2b84720b6de4edd16911a0 (patch) | |
tree | 7e77613301b80d8ae9e9893bed0c31f31a7eb176 /arch/ia64 | |
parent | 464fb126d98a047953040cc9c754801dbda54e5d (diff) | |
download | linux-a4b81ccfd4caba017d2b84720b6de4edd16911a0.tar.bz2 |
efi/x86: Fix the deletion of variables in mixed mode
efi_thunk_set_variable() treated the NULL "data" pointer as an invalid
parameter, and this broke the deletion of variables in mixed mode.
This commit fixes the check of data so that the userspace program can
delete a variable in mixed mode.
Fixes: 8319e9d5ad98ffcc ("efi/x86: Handle by-ref arguments covering multiple pages in mixed mode")
Signed-off-by: Gary Lin <glin@suse.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20200408081606.1504-1-glin@suse.com
Link: https://lore.kernel.org/r/20200409130434.6736-9-ardb@kernel.org
Diffstat (limited to 'arch/ia64')
0 files changed, 0 insertions, 0 deletions