summaryrefslogtreecommitdiff
path: root/security/ssh6/patches/patch-av
diff options
context:
space:
mode:
Diffstat (limited to 'security/ssh6/patches/patch-av')
-rw-r--r--security/ssh6/patches/patch-av13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/ssh6/patches/patch-av b/security/ssh6/patches/patch-av
new file mode 100644
index 00000000000..503077e2446
--- /dev/null
+++ b/security/ssh6/patches/patch-av
@@ -0,0 +1,13 @@
+$NetBSD: patch-av,v 1.1 2000/03/20 02:25:40 itojun Exp $
+
+--- serverloop.c.orig Wed May 12 13:19:28 1999
++++ serverloop.c Sat May 15 04:33:35 1999
+@@ -446,7 +446,7 @@
+ if (ret == 0) /* Nothing read, timeout expired */
+ {
+ /* Check if idle_timeout expired ? */
+- if (idle_timeout != 0 && !child_terminated &&
++ if (idle_timeout != 0 && !child_terminated && idle_time_last &&
+ time(NULL) - idle_time_last > idle_timeout)
+ {
+ /* Yes, kill the child */