efi_loader: GetNextMonotonicCount() check parameter
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 17 May 2019 10:47:17 +0000 (12:47 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 19 May 2019 06:10:10 +0000 (08:10 +0200)
commit1344f7d0f61d94fe475aeadb000ac6cafccd3920
treee59a9e5bdab3ecc9bd4575bd2bb4da680caa89bc
parentdb80fe3866c60dc263b50c4c3724c72e91d6fe04
efi_loader: GetNextMonotonicCount() check parameter

Do not write to address indicated by NULL pointer.

UEFI SCT II 2.6 (2017), 3.6.5 GetNextMonotonicCount(), 5.1.5.5.1

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