diff options
| author | Ezra Peisach <epeisach@mit.edu> | 2000-10-17 23:07:41 +0000 |
|---|---|---|
| committer | Ezra Peisach <epeisach@mit.edu> | 2000-10-17 23:07:41 +0000 |
| commit | 8fd159aa467c7c9d0f34bb979dfcab21e2efc6cd (patch) | |
| tree | 5d040a0058dc1e33cc99afbac77b6d6a309c1ab6 | |
| parent | 02614bf525d581b65fc42446445324dc2fc054e9 (diff) | |
| download | krb5-8fd159aa467c7c9d0f34bb979dfcab21e2efc6cd.tar.gz krb5-8fd159aa467c7c9d0f34bb979dfcab21e2efc6cd.tar.xz krb5-8fd159aa467c7c9d0f34bb979dfcab21e2efc6cd.zip | |
* 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
| -rw-r--r-- | src/appl/gssftp/ftpd/ChangeLog | 5 | ||||
| -rw-r--r-- | src/appl/gssftp/ftpd/ftpd.c | 2 |
2 files changed, 6 insertions, 1 deletions
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 <epeisach@mit.edu> + + * ftpd.c (reply): For gssapi connection, do not include NULL in + sealed reply string. + 2000-10-03 Ezra Peisach <epeisach@mit.edu> * 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, |
