when protocols_per_handle returns error, we can't use the pointers we passed to it, and that includes trusting num_protocols. Signed-off-by: Peter Jones <pjones@redhat.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
guaranteed.
* grub-core/Makefile.core.def (lsefi): New module. * grub-core/commands/efi/lsefi.c: New file. * include/grub/efi/api.h: Add more GUIDs.