SHA256
1
0
forked from pool/xen
xen/x86-EFI-set-variable-permit-attrs.patch

15 lines
384 B
Diff
Raw Normal View History

References: bnc#811764
--- a/xen/arch/x86/efi/runtime.c
+++ b/xen/arch/x86/efi/runtime.c
@@ -380,9 +380,6 @@ int efi_runtime_call(struct xenpf_efi_ru
long len;
unsigned char *data;
- if ( op->misc )
- return -EINVAL;
-
len = gwstrlen(guest_handle_cast(op->u.set_variable.name, CHAR16));
if ( len < 0 )
return len;