one using 'uid' and the other using 'hardware ethernet'. [ISC-Bugs #19895]
Specifically, it detects if the caller passed a pointer and size pair
that causes the pointer to integer-wrap past zero.
+- Fixed a fenceposting bug when a client had two host records configured,
+ one using 'uid' and the other using 'hardware ethernet'.
+
Changes since 4.1.0b1
- A missing "else" in dhcrelay.c could have caused an interface not to
}
if (h)
host_reference (&host, h, MDL);
+ if (hp != NULL)
+ host_dereference(&hp, MDL);
}
if (!host) {
find_hosts_by_haddr (&hp,
}
if (h)
host_reference (&host, h, MDL);
+ if (hp != NULL)
+ host_dereference(&hp, MDL);
}
- if (hp)
- host_dereference (&hp, MDL);
}
/* If we have a host_decl structure, run the options associated