summaryrefslogtreecommitdiff
path: root/security/putty/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'security/putty/patches/patch-ad')
-rw-r--r--security/putty/patches/patch-ad17
1 files changed, 17 insertions, 0 deletions
diff --git a/security/putty/patches/patch-ad b/security/putty/patches/patch-ad
new file mode 100644
index 00000000000..4861e62ebc4
--- /dev/null
+++ b/security/putty/patches/patch-ad
@@ -0,0 +1,17 @@
+$NetBSD: patch-ad,v 1.1 2005/04/06 21:51:13 xtraeme Exp $
+
+--- uxnet.c.orig 2005-04-06 23:12:47.000000000 +0200
++++ uxnet.c 2005-04-06 23:13:06.000000000 +0200
+@@ -443,10 +443,10 @@
+ #endif
+ struct sockaddr_in a;
+ struct sockaddr_un au;
+- const struct sockaddr *sa;
++ const struct sockaddr *sa = NULL;
+ int err = 0;
+ short localport;
+- int fl, salen;
++ int fl, salen = 0;
+
+ if (sock->s >= 0)
+ close(sock->s);