Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion NetworkPkg/UefiPxeBcDxe/PxeBcDhcp6.c
Original file line number Diff line number Diff line change
Expand Up @@ -2472,7 +2472,14 @@ PxeBcDhcp6Sarr (
return Status;
}

ASSERT ((Mode.Ia != NULL) && (Mode.Ia->State == Dhcp6Bound));
// MU_CHANGE [BEGIN] - Explicitly check IA state
if ((Mode.Ia == NULL) || (Mode.Ia->State != Dhcp6Bound)) {
Dhcp6->Stop (Dhcp6);
return EFI_DEVICE_ERROR;
}

// MU_CHANGE [END] - Explicitly check IA state

//
// DHCP6 doesn't have an option to specify the router address on the subnet, the only way to get the
// router address in IP6 is the router discovery mechanism (the RS and RA, which only be handled when
Expand Down