- Fix a build error in dhcrelay, using older versions of gcc with
dhcpv6 disabled.
+- Two uninitialized stack structures are now memset to zero.
+
Changes since 4.1.0b1
- A missing "else" in dhcrelay.c could have caused an interface not to
Support Services in Vancouver, B.C. */
/*
- * Copyright (c) 2004,2007 by Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (c) 2004,2007,2009 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1996-2003 by Internet Software Consortium
*
* Permission to use, copy, modify, and distribute this software for any
{
struct sock_fprog p;
+ memset(&p, 0, sizeof(p));
+
/* Set up the bpf filter program structure. This is defined in
bpf.c */
p.len = dhcp_bpf_tr_filter_len;
Packet assembly code, originally contributed by Archie Cobbs. */
/*
- * Copyright (c) 2004,2005,2007 by Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (c) 2004,2005,2007,2009 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1996-2003 by Internet Software Consortium
*
* Permission to use, copy, modify, and distribute this software for any
struct ip ip;
struct udphdr udp;
+ memset (&ip, 0, sizeof ip);
+
/* Fill out the IP header */
IP_V_SET (&ip, 4);
IP_HL_SET (&ip, 20);