efi_loader: correct headersize EFI tables
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 28 Jun 2018 10:45:29 +0000 (12:45 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 25 Jul 2018 12:59:44 +0000 (14:59 +0200)
commit71c846ab84c81b0ef7786ee5ea02bb05d5ca5bb8
treecb578ffb78d33a65f1516587e36cc0430cceea53
parentbdfb894a3efbb35e184e9afece15d44bc59db43a
efi_loader: correct headersize EFI tables

The headersize field has to be set to the size of the whole table
including the header.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_boottime.c
lib/efi_loader/efi_runtime.c