Bug 1541 - File descriptor leak
: File descriptor leak
Status: RESOLVED FIXED
: GSI C
Authentication
: 2.4.0
: PC All
: P2 major
: 3.2
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-02-13 13:46 by
Modified: 2008-08-11 15:17 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-02-13 13:46:13
Here is a patch to fix a file descriptor leak:

--- 
globus_2_4_3_adv2003_fix892_fix956_more/gsi/gssapi/source/library/import_cred.c
 Fri May 30 02:13:39 2003
+++ 
globus_2_4_3_adv2003_fix892_fix956_plus/gsi/gssapi/source/library/import_cred.c
 Sun Jan  4 05:01:57 2004
@@ -163,7 +163,7 @@
             }
             
             bp = BIO_new(BIO_s_file());
-            BIO_set_fp(bp, fp, BIO_NOCLOSE);
+            BIO_set_fp(bp, fp, BIO_CLOSE);
         }
         else
         {

-alain, VDT
------- Comment #1 From 2004-02-14 15:57:24 -------
I've committed the fix to all applicable branches. Let me know if you require
aupdate package.