]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
- (djm) Fix early (and double) free of remote user when using Kerberos.
authorDamien Miller <djm@mindrot.org>
Tue, 13 Nov 2001 00:20:07 +0000 (11:20 +1100)
committerDamien Miller <djm@mindrot.org>
Tue, 13 Nov 2001 00:20:07 +0000 (11:20 +1100)
   Patch from Simon Wilkinson <simon@sxw.org.uk>

ChangeLog
auth1.c

index 7d59ba3775dd629829b85dba127285692442b9d1..ea5372b5ea5f41c618dd992fb2f476c1d05ed12b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20011113
+ - (djm) Fix early (and double) free of remote user when using Kerberos. 
+   Patch from Simon Wilkinson <simon@sxw.org.uk>
+
 20011112
  - (djm) Makefile correctness fix from Mark D. Baushke <mdb@juniper.net>
  - (djm) Cygwin config patch from Corinna Vinschen <vinschen@redhat.com>
  - Wrote replacements for strlcpy and mkdtemp
  - Released 1.0pre1
 
-$Id: ChangeLog,v 1.1657 2001/11/12 00:40:11 djm Exp $
+$Id: ChangeLog,v 1.1658 2001/11/13 00:20:07 djm Exp $
diff --git a/auth1.c b/auth1.c
index da2c23e528918bb7b64fdc84a5f835b15e959b54..6d40219be0c56375a7a778ae7081b578d014465d 100644 (file)
--- a/auth1.c
+++ b/auth1.c
@@ -140,7 +140,6 @@ do_authloop(Authctxt *authctxt)
                                                snprintf(info, sizeof(info),
                                                    " tktuser %.100s",
                                                    client_user);
-                                               xfree(client_user);
                                        }
 #endif /* KRB4 */
                                } else {
@@ -154,7 +153,6 @@ do_authloop(Authctxt *authctxt)
                                                snprintf(info, sizeof(info),
                                                    " tktuser %.100s",
                                                    client_user);
-                                               xfree(client_user);
                                        }
 #endif /* KRB5 */
                                }