diff options
| author | Michael Brown | 2014-10-17 17:50:45 +0200 |
|---|---|---|
| committer | Michael Brown | 2014-10-17 17:52:31 +0200 |
| commit | feb3a0f7d56fd9fd342672069aa736660cea8089 (patch) | |
| tree | 19be355847403f491ce51f1b96a5471c98e58b53 /src/core/blockdev.c | |
| parent | [efi] Add NII / UNDI driver (diff) | |
| download | ipxe-feb3a0f7d56fd9fd342672069aa736660cea8089.tar.gz ipxe-feb3a0f7d56fd9fd342672069aa736660cea8089.tar.xz ipxe-feb3a0f7d56fd9fd342672069aa736660cea8089.zip | |
[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>
Diffstat (limited to 'src/core/blockdev.c')
0 files changed, 0 insertions, 0 deletions
