LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File krb5-appl-1.0-fix-var-used-before-value-set.dif of Package krb5-appl (Project network)

Index: krb5-appl-1.0-alpha1/telnet/telnetd/utility.c
===================================================================
--- krb5-appl-1.0-alpha1.orig/telnet/telnetd/utility.c
+++ krb5-appl-1.0-alpha1/telnet/telnetd/utility.c
@@ -129,6 +129,7 @@ ttsuck()
     }
     tv.tv_sec = 1;
     tv.tv_usec = 0;
+    FD_ZERO(&fds);
     FD_SET(net, &fds);
 
     while (select(net + 1, &fds, NULL, NULL, &tv) == 1)