From: Ezra Peisach Date: Tue, 17 Oct 2000 23:07:41 +0000 (+0000) Subject: * ftpd.c (reply): For gssapi connection, do not include NULL in X-Git-Tag: krb5-1.3-alpha1~1807 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8fd159aa467c7c9d0f34bb979dfcab21e2efc6cd;p=krb5.git * ftpd.c (reply): For gssapi connection, do not include NULL in sealed reply string. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12796 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/gssftp/ftpd/ChangeLog b/src/appl/gssftp/ftpd/ChangeLog index 78beb9da0..1273af0df 100644 --- a/src/appl/gssftp/ftpd/ChangeLog +++ b/src/appl/gssftp/ftpd/ChangeLog @@ -1,3 +1,8 @@ +2000-10-16 Ezra Peisach + + * ftpd.c (reply): For gssapi connection, do not include NULL in + sealed reply string. + 2000-10-03 Ezra Peisach * ftpd.c (login): Return of krb5_cc_get_name is now const char *. diff --git a/src/appl/gssftp/ftpd/ftpd.c b/src/appl/gssftp/ftpd/ftpd.c index 45955acb6..680c1844e 100644 --- a/src/appl/gssftp/ftpd/ftpd.c +++ b/src/appl/gssftp/ftpd/ftpd.c @@ -1775,7 +1775,7 @@ reply(n, fmt, p0, p1, p2, p3, p4, p5) int conf_state; in_buf.value = in; - in_buf.length = strlen(in) + 1; + in_buf.length = strlen(in); maj_stat = gss_seal(&min_stat, gcontext, clevel == PROT_P, /* private */ GSS_C_QOP_DEFAULT,