2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 05:17:57 +00:00

- Some uninitialized values were repaired in dhcpleasequery.c that

caused the server to abort. [ISC-Bugs #16783]
This commit is contained in:
David Hankins 2007-04-02 23:00:05 +00:00
parent 02428754a3
commit 27837f95b6
2 changed files with 6 additions and 0 deletions

View File

@ -25,6 +25,11 @@ For information on how to install, configure and run this software,
as well as how to find documentation and report bugs, please consult as well as how to find documentation and report bugs, please consult
the README file. the README file.
Changes since 3.1.0b1
- Some uninitialized values were repaired in dhcpleasequery.c that
caused the server to abort.
Changes since 3.1.0a3 Changes since 3.1.0a3
- Some spelling fixes. - Some spelling fixes.

View File

@ -258,6 +258,7 @@ dhcpleasequery(struct packet *packet, int ms_nulltp) {
* are looking for information about that IP address. * are looking for information about that IP address.
*/ */
assoc_ip_cnt = 0; assoc_ip_cnt = 0;
lease = tmp_lease = NULL;
if (memcmp(cip.iabuf, "\0\0\0", 4)) { if (memcmp(cip.iabuf, "\0\0\0", 4)) {
want_associated_ip = 0; want_associated_ip = 0;