commit | feb3a0f7d56fd9fd342672069aa736660cea8089 | [log] [tgz] |
---|---|---|
author | Michael Brown <mcb30@ipxe.org> | Fri Oct 17 16:50:45 2014 +0100 |
committer | Michael Brown <mcb30@ipxe.org> | Fri Oct 17 16:52:31 2014 +0100 |
tree | 19be355847403f491ce51f1b96a5471c98e58b53 | |
parent | 047baaba3819f9c98c1e253ba6d37dd5a20fd435 [diff] |
[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>