]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: parameter check in GetNextVariableName()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 19 Nov 2020 18:40:08 +0000 (19:40 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 21 Nov 2020 06:26:16 +0000 (07:26 +0100)
commitfb5c84a3080d6acec496f33b4b9840b09c32472a
treee1e9bf9854aea4f4fd851f779555a42ef51f7f01
parenta61390bf6effb42ab310be791e347a5676b787a1
efi_loader: parameter check in GetNextVariableName()

If GetNextVariableName() is called with a non-existing combination of
VariableName and VendorGuid, return EFI_INVALID_PARAMETER.

If GetNextVariableName() is called with a string that is not zero
terminated, return EFI_INVALID_PARAMETER.

Reformat a line over 80 characters.

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