On Mon, 2008-06-16 at 20:05 +0200, Graham Leggett wrote:

> Seems driver is NULL. Does this ring any bells for anyone?

Can you try this?

-- 
Bojan
Index: dbd/apr_dbd.c
===================================================================
--- dbd/apr_dbd.c	(revision 668320)
+++ dbd/apr_dbd.c	(working copy)
@@ -184,6 +184,7 @@
     rv = apu_dso_load(&symbol, modname, symname, pool);
     if (rv != APR_SUCCESS) { /* APR_EDSOOPEN or APR_ESYMNOTFOUND? */
         if (rv == APR_EINIT) { /* previously loaded?!? */
+            name = apr_pstrdup(pool, name);
             apr_hash_set(drivers, name, APR_HASH_KEY_STRING, *driver);
             rv = APR_SUCCESS;
         }

Reply via email to