efi_loader: check parameters in memory allocation
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 2 Jul 2018 10:53:53 +0000 (12:53 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 25 Jul 2018 12:59:44 +0000 (14:59 +0200)
commit4d5e071ee06429d3a6136888d75d8473d8cbdfff
treedf9d3f922bfc0a779f9cd5743e4826d2575946f0
parent21b3edfc9644f1cef3798f57f965aa44a78d9d22
efi_loader: check parameters in memory allocation

If no pointer is provided throw an error.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_memory.c