]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
pullup:
authorAndreas Gustafsson <source@isc.org>
Mon, 5 Feb 2001 21:19:35 +0000 (21:19 +0000)
committerAndreas Gustafsson <source@isc.org>
Mon, 5 Feb 2001 21:19:35 +0000 (21:19 +0000)
The flags field of the request structures were not initialized (thanks, purify)

lib/lwres/lwresutil.c

index 0320fdb8cdf18c77a3df52fb33121947f87c7901..816d05845d70605b982644e1822cb7a6bcef6766 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lwresutil.c,v 1.25.4.1 2001/01/09 22:52:32 bwelling Exp $ */
+/* $Id: lwresutil.c,v 1.25.4.2 2001/02/05 21:19:35 gson Exp $ */
 
 #include <config.h>
 
@@ -199,6 +199,7 @@ lwres_getaddrsbyname(lwres_context_t *ctx, const char *name,
        /*
         * Set up our request and render it to a buffer.
         */
+       request.flags = 0;
        request.addrtypes = addrtypes;
        request.name = target_name;
        request.namelen = target_length;
@@ -307,6 +308,7 @@ lwres_getnamebyaddr(lwres_context_t *ctx, lwres_uint32_t addrtype,
        /*
         * Set up our request and render it to a buffer.
         */
+       request.flags = 0;
        request.addr.family = addrtype;
        request.addr.length = addrlen;
        memcpy(request.addr.address, addr, addrlen);