From: David Hankins Date: Mon, 2 Apr 2007 23:00:05 +0000 (+0000) Subject: - Some uninitialized values were repaired in dhcpleasequery.c that X-Git-Tag: v4_0_0a1~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27837f95b6a0d89bf8d59afa345a630800344aee;p=thirdparty%2Fdhcp.git - Some uninitialized values were repaired in dhcpleasequery.c that caused the server to abort. [ISC-Bugs #16783] --- diff --git a/RELNOTES b/RELNOTES index ea27121f4..d0b6edd06 100644 --- a/RELNOTES +++ b/RELNOTES @@ -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 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 - Some spelling fixes. diff --git a/server/dhcpleasequery.c b/server/dhcpleasequery.c index 1b9b43b52..b1ee57228 100644 --- a/server/dhcpleasequery.c +++ b/server/dhcpleasequery.c @@ -258,6 +258,7 @@ dhcpleasequery(struct packet *packet, int ms_nulltp) { * are looking for information about that IP address. */ assoc_ip_cnt = 0; + lease = tmp_lease = NULL; if (memcmp(cip.iabuf, "\0\0\0", 4)) { want_associated_ip = 0;