Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/dhcpcd/dist CID 1102809: Fix uninitialized vari...



details:   https://anonhg.NetBSD.org/src/rev/3f454818858a
branches:  trunk
changeset: 791351:3f454818858a
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Nov 14 01:28:16 2013 +0000

description:
CID 1102809: Fix uninitialized variable

diffstat:

 external/bsd/dhcpcd/dist/ipv6nd.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r a102623d0008 -r 3f454818858a external/bsd/dhcpcd/dist/ipv6nd.c
--- a/external/bsd/dhcpcd/dist/ipv6nd.c Thu Nov 14 01:18:02 2013 +0000
+++ b/external/bsd/dhcpcd/dist/ipv6nd.c Thu Nov 14 01:28:16 2013 +0000
@@ -1,5 +1,5 @@
 #include <sys/cdefs.h>
- __RCSID("$NetBSD: ipv6nd.c,v 1.1.1.1 2013/09/20 10:51:29 roy Exp $");
+ __RCSID("$NetBSD: ipv6nd.c,v 1.2 2013/11/14 01:28:16 christos Exp $");
 
 /*
  * dhcpcd - DHCP client daemon
@@ -568,6 +568,7 @@
                        if (rap->iface != ifp)
                                continue;
                        wascompleted = 1;
+                       found = 0;
                        TAILQ_FOREACH(rapap, &rap->addrs, next) {
                                if (rapap->flags & IPV6_AF_AUTOCONF &&
                                    (rapap->flags & IPV6_AF_DADCOMPLETED) == 0)



Home | Main Index | Thread Index | Old Index