]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
- Some uninitialized values were repaired in dhcpleasequery.c that
authorDavid Hankins <dhankins@isc.org>
Mon, 2 Apr 2007 23:00:05 +0000 (23:00 +0000)
committerDavid Hankins <dhankins@isc.org>
Mon, 2 Apr 2007 23:00:05 +0000 (23:00 +0000)
  caused the server to abort. [ISC-Bugs #16783]

RELNOTES
server/dhcpleasequery.c

index ea27121f4b04a0cc7cde9f8386bce12da861176f..d0b6edd06c981df914f40689e0d5100cf82ea2b7 100644 (file)
--- 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.
index 1b9b43b5210301dbf0f2465fe688d50473e04521..b1ee572286efc8846681142f5c1601e9ede95ae7 100644 (file)
@@ -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;