summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-03-22 01:30:40 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-03-22 01:30:40 +0000
commitabf314406499e53661079f4cb25a74ef1f0a2182 (patch)
tree0de9ac9e64bf75eacad54f8735d098a3d43c78f0
parent73ab9ba45d369ef35b0e81590d5d46cc376466c9 (diff)
- dugsong@cvs.openbsd.org 2002/03/18 01:30:10
[auth-krb4.c] set client to NULL after xfree(), from Rolf Braun <rbraun+ssh@andrew.cmu.edu>
-rw-r--r--ChangeLog6
-rw-r--r--auth-krb4.c3
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 0419a17c7..e382cda76 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -37,6 +37,10 @@
37 [auth.h auth1.c auth2.c sshd.c] 37 [auth.h auth1.c auth2.c sshd.c]
38 have the authentication functions return the authentication context 38 have the authentication functions return the authentication context
39 and then do_authenticated; okay millert@ 39 and then do_authenticated; okay millert@
40 - dugsong@cvs.openbsd.org 2002/03/18 01:30:10
41 [auth-krb4.c]
42 set client to NULL after xfree(), from Rolf Braun
43 <rbraun+ssh@andrew.cmu.edu>
40 44
4120020317 4520020317
42 - (tim) [configure.ac] Assume path given with --with-pid-dir=PATH is wanted, 46 - (tim) [configure.ac] Assume path given with --with-pid-dir=PATH is wanted,
@@ -7883,4 +7887,4 @@
7883 - Wrote replacements for strlcpy and mkdtemp 7887 - Wrote replacements for strlcpy and mkdtemp
7884 - Released 1.0pre1 7888 - Released 1.0pre1
7885 7889
7886$Id: ChangeLog,v 1.1935 2002/03/22 01:27:35 mouring Exp $ 7890$Id: ChangeLog,v 1.1936 2002/03/22 01:30:40 mouring Exp $
diff --git a/auth-krb4.c b/auth-krb4.c
index f7a144f9d..2a3cf5314 100644
--- a/auth-krb4.c
+++ b/auth-krb4.c
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: auth-krb4.c,v 1.25 2001/12/19 07:18:56 deraadt Exp $"); 26RCSID("$OpenBSD: auth-krb4.c,v 1.26 2002/03/18 01:30:10 dugsong Exp $");
27 27
28#include "ssh.h" 28#include "ssh.h"
29#include "ssh1.h" 29#include "ssh1.h"
@@ -253,6 +253,7 @@ auth_krb4(Authctxt *authctxt, KTEXT auth, char **client)
253 log("Kerberos v4 .klogin authorization failed for %s to " 253 log("Kerberos v4 .klogin authorization failed for %s to "
254 "account %s", *client, authctxt->user); 254 "account %s", *client, authctxt->user);
255 xfree(*client); 255 xfree(*client);
256 *client = NULL;
256 return (0); 257 return (0);
257 } 258 }
258 /* Increment the checksum, and return it encrypted with the 259 /* Increment the checksum, and return it encrypted with the