* ftpd.c (reply): For gssapi connection, do not include NULL in
authorEzra Peisach <epeisach@mit.edu>
Tue, 17 Oct 2000 23:07:41 +0000 (23:07 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 17 Oct 2000 23:07:41 +0000 (23:07 +0000)
        sealed reply string.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12796 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/gssftp/ftpd/ChangeLog
src/appl/gssftp/ftpd/ftpd.c

index 78beb9da07e7912fff372be66a98533c2b0ea4ca..1273af0df0debc36a117e42a2e2ee2999b21ddac 100644 (file)
@@ -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 *.
index 45955acb684196942e8d6f220d6293012529cf11..680c1844e5935fe2601331c43f496b6f4727463b 100644 (file)
@@ -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,