Red Hat Bugzilla – Bug 179130
[PATCH] pam_krb5 leaks file descriptor
Last modified: 2008-03-09 23:47:11 EDT
+++ This bug was initially created as a clone of Bug #173681 +++
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050920
Description of problem:
When the 'validate' flag is given to pam_krb5 in the PAM configuration, pam_krb5
leaks a file descriptor.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Enable validate for pam_krb5
2. Use pam_krb5 in a process that doesn't die after using PAM (like saslauthd)
3. Use lsof to verify that the file descriptor is being leaked
Actual Results: One file descriptor is leaked per authentication.
Expected Results: No files should be leaked.
-- Additional comment from email@example.com on 2005-11-18 16:33 EST --
Created an attachment (id=121256)
Fixes file descriptor leak
-- Additional comment from firstname.lastname@example.org on 2005-11-21 17:06 EST --
Note to self: the file handle is stored in the krb5_keytab structure, and the
call to krb5_verify_init_creds overwrites the one we're using when it creates
its own cursor.
This report targets the FC3 or FC4 products, which have now been EOL'd.
Could you please check that it still applies to a current Fedora release, and
either update the target product or close it ?
Fedora Core 4 is no longer maintained.
Setting status to "INSUFFICIENT_DATA". If you can reproduce this bug in the
current Fedora release, please reopen this bug and assign it to the
corresponding Fedora version.