efi_loader: parameter check in SetVirtualAddressMap
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 14 Aug 2019 03:19:37 +0000 (05:19 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 15 Aug 2019 18:33:10 +0000 (20:33 +0200)
commit53e1d8fae8ccf24a1b91929a6d5e74d4cef18eb1
treea1c030258bc2a2958ed966d227f569bb6af3328d
parenta6d37098bd271057743e7e193703c1569ec9f709
efi_loader: parameter check in SetVirtualAddressMap

Check the parameters DescriptorSize and DescriptiorVersion of
SetVirtualAddressMap() as prescribed by the UEFI specification.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_runtime.c