]> git.baikalelectronics.ru Git - kernel.git/commit
efi: Add a sanity check to efivar_store_raw()
authorVladis Dronov <vdronov@redhat.com>
Sun, 8 Mar 2020 08:08:55 +0000 (09:08 +0100)
committerIngo Molnar <mingo@kernel.org>
Sun, 8 Mar 2020 08:56:48 +0000 (09:56 +0100)
commit784e368d152b45c8dc5faedcd071c65993c191b5
treeab96a2e295bc607151712dc103f5b1137f25e439
parent06e446bb9f6d87cc833ed1b64ac52f4a7504c7c4
efi: Add a sanity check to efivar_store_raw()

Add a sanity check to efivar_store_raw() the same way
efivar_{attr,size,data}_read() and efivar_show_raw() have it.

Signed-off-by: Vladis Dronov <vdronov@redhat.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200305084041.24053-3-vdronov@redhat.com
Link: https://lore.kernel.org/r/20200308080859.21568-25-ardb@kernel.org
drivers/firmware/efi/efivars.c