Module Name:    src
Committed By:   tteras
Date:           Tue Jul  7 12:25:22 UTC 2009

Modified Files:
        src/crypto/dist/ipsec-tools/src/racoon: sockmisc.c

Log Message:
>From Arnaud Ebalard: Fix possible usage of uninitialized local variable
(not sure if any code path triggers this, but this makes compiler happy).


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/crypto/dist/ipsec-tools/src/racoon/sockmisc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/dist/ipsec-tools/src/racoon/sockmisc.c
diff -u src/crypto/dist/ipsec-tools/src/racoon/sockmisc.c:1.16 src/crypto/dist/ipsec-tools/src/racoon/sockmisc.c:1.17
--- src/crypto/dist/ipsec-tools/src/racoon/sockmisc.c:1.16	Fri Jul  3 06:41:47 2009
+++ src/crypto/dist/ipsec-tools/src/racoon/sockmisc.c	Tue Jul  7 12:25:22 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: sockmisc.c,v 1.16 2009/07/03 06:41:47 tteras Exp $	*/
+/*	$NetBSD: sockmisc.c,v 1.17 2009/07/07 12:25:22 tteras Exp $	*/
 
 /* Id: sockmisc.c,v 1.24 2006/05/07 21:32:59 manubsd Exp */
 
@@ -91,7 +91,8 @@
 	const struct sockaddr *addr2;
 {
 	caddr_t sa1, sa2;
-	u_short port1, port2;
+	u_short port1 = IPSEC_PORT_ANY;
+	u_short port2 = IPSEC_PORT_ANY;
 
 	if (addr1 == NULL && addr2 == NULL)
 		return CMPSADDR_MATCH;

Reply via email to