]> git.ipfire.org Git - thirdparty/systemd.git/commit
efi: check input parameter 21065/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 20 Oct 2021 11:57:38 +0000 (13:57 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 20 Oct 2021 12:20:44 +0000 (14:20 +0200)
commit2fffe2ed19aaf76f18eee19d8a7c9277ebb43e64
tree44d0be381418197e59a4ead806e3634dfa3c7780
parentf3611cfb0b1ba1f0dd81757b96b713a425dc7653
efi: check input parameter

clang complained about an unused variable. We cast the buffer to
struct boot_params, so let's check that it's at least this long.
src/boot/efi/linux_x86.c