From: Ezra Peisach Date: Sat, 10 Jun 1995 23:19:43 +0000 (+0000) Subject: recv_tocken: Initialize stack variable to 0 before using X-Git-Tag: krb5-1.0-beta6~1769 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=38d86476c575d1a894d74fe814c3cc84b3d4d5b0;p=krb5.git recv_tocken: Initialize stack variable to 0 before using git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6034 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/gss-sample/ChangeLog b/src/appl/gss-sample/ChangeLog index 097a40e2b..ff12e3166 100644 --- a/src/appl/gss-sample/ChangeLog +++ b/src/appl/gss-sample/ChangeLog @@ -1,3 +1,7 @@ +Sat Jun 10 19:06:03 1995 Ezra Peisach + + * gss-misc.c (recv_token): Initialize local variable to 0. + Sat Jun 10 00:28:50 1995 Theodore Y. Ts'o * gss-misc.c (recv_token): Allow for partial reads while reading diff --git a/src/appl/gss-sample/gss-misc.c b/src/appl/gss-sample/gss-misc.c index 625c601b5..66ad94a49 100644 --- a/src/appl/gss-sample/gss-misc.c +++ b/src/appl/gss-sample/gss-misc.c @@ -114,7 +114,7 @@ int recv_token(s, tok) gss_buffer_t tok; { int ret; - int readsofar; + int readsofar = 0; if (display_file == 0) display_file = stderr;