efi/main: set/check for NULL in efi_create_binding()
commite466d2498604c8eea055a8e98284d65311073b39
authorPatrick Masotta <masottaus@yahoo.com>
Sat, 1 Aug 2015 11:40:16 +0000 (1 07:40 -0400)
committerGene Cumm <gene.cumm@gmail.com>
Sat, 1 Aug 2015 11:40:34 +0000 (1 07:40 -0400)
tree061d29a703dfc94ab96471c0bf907c035920dfef
parentf858a5428ed992388da00c5dc7e4f73195d4efb0
efi/main: set/check for NULL in efi_create_binding()

If LibLocateHandle() returns success and either 0 handles or we find no
matching handles, treat it the same.

Originally-By: Patrick Masotta <masottaus@yahoo.com>
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
efi/main.c