any IPv4 address assigned. [ISC-Bugs #22409]
crashing on an assert failure. Also retag the lease as active
and reset it's timeout value.
[ISC-Bugs #21921]
+
+- Relay no longer crashes, when DHCP packet is received over interface without
+ any IPv4 address assigned. [ISC-Bugs #22409]
Changes since 4.2.0rc1
return;
}
+ if (ip->address_count < 1 || ip->addresses == NULL) {
+ log_info("Discarding packet received on %s interface that "
+ "has no IPv4 address assigned.", ip->name);
+ return;
+ }
+
/* Find the interface that corresponds to the giaddr
in the packet. */
if (packet->giaddr.s_addr) {