[efi] Check for presence of UNDI in NII protocol

iPXE itself exposes a dummy NII protocol with no UNDI.  Avoid
potentially dereferencing a NULL pointer by checking for a non-zero
UNDI address.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
1 file changed
tree: 19be355847403f491ce51f1b96a5471c98e58b53
  1. contrib/
  2. src/
  3. COPYING
  4. COPYRIGHTS
  5. README