summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hankins <dhankins@isc.org>2007-04-02 23:00:05 +0000
committerDavid Hankins <dhankins@isc.org>2007-04-02 23:00:05 +0000
commit27837f95b6a0d89bf8d59afa345a630800344aee (patch)
tree7105f9456aa32c09a967305375442bdc2c4b6ea5
parent02428754a32d420a48dc265272f3478f075cfbae (diff)
downloadisc-dhcp-27837f95b6a0d89bf8d59afa345a630800344aee.tar.gz
- Some uninitialized values were repaired in dhcpleasequery.c that
caused the server to abort. [ISC-Bugs #16783]
-rw-r--r--RELNOTES5
-rw-r--r--server/dhcpleasequery.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/RELNOTES b/RELNOTES
index ea27121f..d0b6edd0 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 1b9b43b5..b1ee5722 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;