efi_loader: parameter checks simple network protocol
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 15 May 2019 21:27:43 +0000 (23:27 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 19 May 2019 06:10:10 +0000 (08:10 +0200)
commitce54fdc492dfac6c52fcd369a7414d5ef1f3ded9
tree60016ccb604b9f5a2a6a43594d8adb041bf1c4f8
parent487d8c75f1d3a1cf084e7fd61955591edc083f80
efi_loader: parameter checks simple network protocol

Check buffer pointers are not NULL as required by the UEFI 2.7 spec.

Return EFI_UNSUPPORTED instead of EFI_INVALID_PARAMETER when trying to
transmit with non-zero header_size.

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