]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: check CreateEvent() parameters
authorJonathan Gray <jsg@jsg.id.au>
Sun, 12 Mar 2017 08:26:07 +0000 (19:26 +1100)
committerAlexander Graf <agraf@suse.de>
Mon, 3 Jul 2017 11:54:48 +0000 (13:54 +0200)
commita95343b8d3db894681dd427bc60077abc891aecc
tree267fc263becb970124017c6618fa60b832e129e0
parent37a980b3fa0b0ad26b16b7b9b9dbb25b0075a06b
efi_loader: check CreateEvent() parameters

Add some of the invalid parameter checks described in the UEFI
specification for CreateEvent().  This does not include checking
the validity of the type and tpl parameters.

Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Acked-By: Heinrich Schuchardt <xypron.glpk@gmx.de>
[agraf: fix checkpatch.pl indent warning]
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_boottime.c