]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: parameter checks BLOCK_IO_PROTOCOL
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 5 Sep 2019 17:31:23 +0000 (19:31 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 5 Sep 2019 21:18:51 +0000 (23:18 +0200)
commitd047340a2f01a17788ba195175432fea01d16b26
tree31c50f20cd10dad12634c02da52df085d8f7c3d0
parent8c5cc70db60f2993cda190223df8e33729f59adb
efi_loader: parameter checks BLOCK_IO_PROTOCOL

Check parameters of ReadBlocks() and WriteBlocks().

If the buffer size is not a multiple of the block size, we have to return
EFI_BAD_BUFFER_SIZE.

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