summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-09-02 22:59:01 +1000
committerDamien Miller <djm@mindrot.org>2003-09-02 22:59:01 +1000
commit982d326045fd776c4c2b831e4c94515b0c895df9 (patch)
tree45277a00095e0b8ad669605c9f5f90b9a00d2dbf
parentfb10e9abe83d4d0b9ec36ee90587270d5bdc0cfd (diff)
- markus@cvs.openbsd.org 2003/09/01 20:44:54
[auth2-gss.c] fix leak
-rw-r--r--ChangeLog5
-rw-r--r--auth2-gss.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 1aaa41485..ae0b8d11d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -44,6 +44,9 @@
44 - markus@cvs.openbsd.org 2003/09/01 18:15:50 44 - markus@cvs.openbsd.org 2003/09/01 18:15:50
45 [readconf.c readconf.h servconf.c servconf.h ssh.c] 45 [readconf.c readconf.h servconf.c servconf.h ssh.c]
46 remove unused kerberos code; ok henning@ 46 remove unused kerberos code; ok henning@
47 - markus@cvs.openbsd.org 2003/09/01 20:44:54
48 [auth2-gss.c]
49 fix leak
47 50
4820030829 5120030829
49 - (bal) openbsd-compat/ clean up. Considate headers, add in Id on our 52 - (bal) openbsd-compat/ clean up. Considate headers, add in Id on our
@@ -959,4 +962,4 @@
959 - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. 962 - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
960 Report from murple@murple.net, diagnosis from dtucker@zip.com.au 963 Report from murple@murple.net, diagnosis from dtucker@zip.com.au
961 964
962$Id: ChangeLog,v 1.2932 2003/09/02 12:58:22 djm Exp $ 965$Id: ChangeLog,v 1.2933 2003/09/02 12:59:01 djm Exp $
diff --git a/auth2-gss.c b/auth2-gss.c
index feb97d7c3..75b94b009 100644
--- a/auth2-gss.c
+++ b/auth2-gss.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth2-gss.c,v 1.2 2003/08/24 17:36:51 deraadt Exp $ */ 1/* $OpenBSD: auth2-gss.c,v 1.3 2003/09/01 20:44:54 markus Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved. 4 * Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved.
@@ -98,8 +98,10 @@ userauth_gssapi(Authctxt *authctxt)
98 return (0); 98 return (0);
99 } 99 }
100 100
101 if (GSS_ERROR(PRIVSEP(ssh_gssapi_server_ctx(&ctxt, &oid)))) 101 if (GSS_ERROR(PRIVSEP(ssh_gssapi_server_ctx(&ctxt, &oid)))) {
102 xfree(doid);
102 return (0); 103 return (0);
104 }
103 105
104 authctxt->methoddata=(void *)ctxt; 106 authctxt->methoddata=(void *)ctxt;
105 107