httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfcl...@apache.org
Subject svn commit: r427505 - /httpd/httpd/branches/httpd-proxy-scoreboard/modules/mem/sharedmem_util.c
Date Tue, 01 Aug 2006 09:46:01 GMT
Author: jfclere
Date: Tue Aug  1 02:46:00 2006
New Revision: 427505

URL: http://svn.apache.org/viewvc?rev=427505&view=rev
Log:
create and attach cannot be used before the globalmem has been initialized.

Modified:
    httpd/httpd/branches/httpd-proxy-scoreboard/modules/mem/sharedmem_util.c

Modified: httpd/httpd/branches/httpd-proxy-scoreboard/modules/mem/sharedmem_util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/httpd-proxy-scoreboard/modules/mem/sharedmem_util.c?rev=427505&r1=427504&r2=427505&view=diff
==============================================================================
--- httpd/httpd/branches/httpd-proxy-scoreboard/modules/mem/sharedmem_util.c (original)
+++ httpd/httpd/branches/httpd-proxy-scoreboard/modules/mem/sharedmem_util.c Tue Aug  1 02:46:00
2006
@@ -90,6 +90,8 @@
     const char *fname;
     apr_status_t rv;
 
+    if (globalpool == NULL)
+        return APR_ENOSHMAVAIL;
     if (name) {
         if (name[0] == ':')
             fname = name;
@@ -173,6 +175,8 @@
     const char *fname;
     apr_status_t rv;
 
+    if (globalpool == NULL)
+        return APR_ENOSHMAVAIL;
     if (name) {
         if (name[0] == ':')
             fname = name;



Mime
View raw message