https://issues.apache.org/bugzilla/show_bug.cgi?id=54357

--- Comment #38 from Kaspar Brand <[email protected]> ---
(In reply to Alex Bligh from comment #37)
> Can you legally pass ssl_stapling_certid_free as a parameter to
> apr_pool_cleanup_register?

Yes, because this cleanup is called before the module is unloaded
(unload_module in mod_so is implemented as a cleanup call registered with the
pconf pool, and because ssl_stapling_init_cert registers its cleanup
afterwards, it is called before mod_ssl is unloaded by mod_so).

> Might the ssl module not be unloaded / reloaded
> to a different address at that point (this was the cause of the original
> bug)?

Doesn't matter in this case. With the current X509_get_ex_new_index call, the
problem is most likely the one pointed out by Rainer in the initial
description: libcrypto doesn't get unloaded (in contrast to mod_ssl), and
therefore keeps the pointer to the old free_func.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to