Hi,
        I was wondering if anybody has faced "Bus Error" core dumps under
heavy load conditions when SHMHT is enabled.. If yes, here's a possible fix
that seems to get rid of the core dumps.. Can somebody verify the fix and
let me know if it's okay.

Thx
-Madhu


$ diff -u ssl_util_table.c.1 ssl_util_table.c
--- ssl_util_table.c.1  Sun Oct 14 22:38:09 2001
+++ ssl_util_table.c  Sun Oct 14 22:38:43 2001
@@ -1749,7 +1749,7 @@
     if (buck_n == 0)
         buck_n = 1;
     /* make sure we have somethign to do */
-    if (buck_n == table_p->ta_bucket_n)
+    if (buck_n <= table_p->ta_bucket_n)
         return TABLE_ERROR_NONE;
     /* allocate a new bucket list */
     buckets = (table_entry_t **) table_p->ta_calloc(buck_n,
sizeof(table_entry_t *));
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to