summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-03-25 14:05:44 +0100
committerDamien Miller <djm@mindrot.org>2006-03-25 14:05:44 +0100
commit91a2d9746a0934777e9a43f3671db1daa309c1ab (patch)
treeff67d0c8c96fa902e377c302aaebef26ac66b5b9
parent - djm@cvs.openbsd.org 2006/03/20 04:07:49 (diff)
downloadopenssh-91a2d9746a0934777e9a43f3671db1daa309c1ab.tar.xz
openssh-91a2d9746a0934777e9a43f3671db1daa309c1ab.zip
- djm@cvs.openbsd.org 2006/03/20 04:08:18
[gss-serv.c] last lot of GSSAPI related leaks detected by Coverity via elad AT netbsd.org; reviewed by simon AT sxw.org.uk; deraadt@ ok
-rw-r--r--ChangeLog6
-rw-r--r--gss-serv.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 1da850aab..bd2956304 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -40,6 +40,10 @@
[gss-genr.c]
more GSSAPI related leaks detected by Coverity via elad AT netbsd.org;
reviewed by simon AT sxw.org.uk; deraadt@ ok
+ - djm@cvs.openbsd.org 2006/03/20 04:08:18
+ [gss-serv.c]
+ last lot of GSSAPI related leaks detected by Coverity via
+ elad AT netbsd.org; reviewed by simon AT sxw.org.uk; deraadt@ ok
20060318
- (djm) [auth-pam.c] Fix memleak in error path, from Coverity via
@@ -4232,4 +4236,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
-$Id: ChangeLog,v 1.4235 2006/03/25 13:05:23 djm Exp $
+$Id: ChangeLog,v 1.4236 2006/03/25 13:05:44 djm Exp $
diff --git a/gss-serv.c b/gss-serv.c
index 56e33d6a2..c1e17cdc5 100644
--- a/gss-serv.c
+++ b/gss-serv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gss-serv.c,v 1.14 2006/02/08 13:15:44 stevesk Exp $ */
+/* $OpenBSD: gss-serv.c,v 1.15 2006/03/20 04:08:18 djm Exp $ */
/*
* Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved.
@@ -78,6 +78,8 @@ ssh_gssapi_supported_oids(gss_OID_set *oidset)
&supported_mechs[i]->oid, oidset);
i++;
}
+
+ gss_release_oid_set(&min_status, &supported);
}