From b0e5c7bced0409399d6b5d3ac5a797c1626754f9 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Tue, 19 Jun 2001 17:36:30 +0000 Subject: [PATCH] telnet.c (telrcv): Ensure variable set before use git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13385 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/telnet/telnet/ChangeLog | 4 ++++ src/appl/telnet/telnet/telnet.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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; -- 2.26.2