Skip Menu |
 

From: tlyu@mit.edu
Subject: CVS Commit
* accept_sec_context.c (krb5_gss_accept_sec_context): Don't null
out rcache of auth_context prior to free if rcache was temporarily
allocated; this prevents leaking rcaches.


To generate a diff of this commit:



cvs diff -r1.89 -r1.90
krb5/src/lib/gssapi/krb5/accept_sec_context.c
From: tlyu@mit.edu
Subject: CVS Commit
ok, let's try this again...

* accept_sec_context.c (krb5_gss_accept_sec_context): Only null
out the auth_context's rcache if it was provided by acceptor
creds; this prevents a leak.

* delete_sec_context.c (krb5_gss_delete_sec_context): Only null
out the auth_context's rcache if it was provided by acceptor
creds; this prevents a leak.

* gssapiP_krb5.h (krb5_gss_ctx_id_rec): Add cred_rcache to track
whether acceptor creds provided an rcache.


To generate a diff of this commit:



cvs diff -r1.258 -r1.259 krb5/src/lib/gssapi/krb5/ChangeLog
cvs diff -r1.90 -r1.91
krb5/src/lib/gssapi/krb5/accept_sec_context.c
cvs diff -r1.18 -r1.19
krb5/src/lib/gssapi/krb5/delete_sec_context.c
cvs diff -r1.64 -r1.65 krb5/src/lib/gssapi/krb5/gssapiP_krb5.h