]> git.baikalelectronics.ru Git - uboot.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)
commit75e99a330bd316a0c7111a043e95a35e57f152a1
tree267fc263becb970124017c6618fa60b832e129e0
parenteb31ebbd336c26f01ff4dd658d567f6eea0846ac
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