telnet.c (telrcv): Ensure variable set before use
authorEzra Peisach <epeisach@mit.edu>
Tue, 19 Jun 2001 17:36:30 +0000 (17:36 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 19 Jun 2001 17:36:30 +0000 (17:36 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13385 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/telnet/telnet/ChangeLog
src/appl/telnet/telnet/telnet.c

index 591b67de7c509b674faca682e4c3600d4cf8a4d4..34e97546eba0dd40db06272fb7c6cf4d74e87936 100644 (file)
@@ -1,3 +1,7 @@
+2001-06-19  Ezra Peisach  <epeisach@mit.edu>
+
+       * telnet.c (telrcv): Ensure variable set before use.
+
 2001-06-18  Ezra Peisach  <epeisach@mit.edu>
 
        * commands.c: Cast argument to isspace() to int.
index 22bede0b2096fdafd94ab96f5439b75414afd302..869d3e402de2e9508a31e35a0e30c1c6f45ddc4a 100644 (file)
@@ -1746,7 +1746,7 @@ telrcv()
 {
     register int c;
     register int scc;
-    register unsigned char *sbp;
+    register unsigned char *sbp = NULL;
     int count;
     int returnValue = 0;