the TXT record alone. This relaxation was codified in RFC 4703.
[ISC-Bugs #30734]
+- Modify the failover code to handle incorrect peer names
+ better. Previously the structure holding the name might
+ have been freed inappropriately in some cases and not
+ freed in other cases.
+ [ISC-Bugs #30320]
+
Changes since 4.2.3
! Add a check for a null pointer before calling the regexec function.
? dhcp_failover_make_option(FTO_RELATIONSHIP_NAME, FMA,
strlen(state->name), state->name)
: (link->imsg->options_present & FTB_RELATIONSHIP_NAME)
- ? &link->imsg->relationship_name
+ ? dhcp_failover_make_option(FTO_RELATIONSHIP_NAME, FMA,
+ link->imsg->relationship_name.count,
+ link->imsg->relationship_name.data)
: &skip_failover_option,
state
? dhcp_failover_make_option (FTO_MAX_UNACKED, FMA,
dfree (m -> hba.data, file, line);
if (m -> message.data)
dfree (m -> message.data, file, line);
+ if (m -> relationship_name.data)
+ dfree (m -> relationship_name.data, file, line);
if (m -> reply_options.data)
dfree (m -> reply_options.data, file, line);
if (m -> request_options.data)