Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/crypto/dist/openssl/ssl Pullup 1.2 [taca]:



details:   https://anonhg.NetBSD.org/src/rev/88a82782e809
branches:  netbsd-1-5
changeset: 489751:88a82782e809
user:      tv <tv%NetBSD.org@localhost>
date:      Mon Oct 16 23:25:40 2000 +0000

description:
Pullup 1.2 [taca]:
- Correct missing closedir(3) in SSL_add_dir_cert_subjects_to_stack().

  This should be fix the bug that apache enabled SSL may exhaust its
  file descriptors.  Noted by TAKANO Yuji <takachan%running-dog.net@localhost>
  on apache%ecc.u-tokyo.ac.jp@localhost, apache mailing list in Japanese.

diffstat:

 crypto/dist/openssl/ssl/ssl_cert.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 36ad2bb53c46 -r 88a82782e809 crypto/dist/openssl/ssl/ssl_cert.c
--- a/crypto/dist/openssl/ssl/ssl_cert.c        Mon Oct 16 23:21:34 2000 +0000
+++ b/crypto/dist/openssl/ssl/ssl_cert.c        Mon Oct 16 23:25:40 2000 +0000
@@ -743,6 +743,7 @@
     ret = 1;
 
 err:   
+    closedir(d);
     CRYPTO_w_unlock(CRYPTO_LOCK_READDIR);
     return ret;
     }



Home | Main Index | Thread Index | Old Index