From: Ezra Peisach Date: Tue, 19 Jun 2001 17:36:30 +0000 (+0000) Subject: telnet.c (telrcv): Ensure variable set before use X-Git-Tag: krb5-1.3-alpha1~1382 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b0e5c7bced0409399d6b5d3ac5a797c1626754f9;p=krb5.git telnet.c (telrcv): Ensure variable set before use git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13385 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/telnet/telnet/ChangeLog b/src/appl/telnet/telnet/ChangeLog index 591b67de7..34e97546e 100644 --- a/src/appl/telnet/telnet/ChangeLog +++ b/src/appl/telnet/telnet/ChangeLog @@ -1,3 +1,7 @@ +2001-06-19 Ezra Peisach + + * telnet.c (telrcv): Ensure variable set before use. + 2001-06-18 Ezra Peisach * commands.c: Cast argument to isspace() to int. diff --git a/src/appl/telnet/telnet/telnet.c b/src/appl/telnet/telnet/telnet.c index 22bede0b2..869d3e402 100644 --- a/src/appl/telnet/telnet/telnet.c +++ b/src/appl/telnet/telnet/telnet.c @@ -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;