mirror of
https://github.com/apache/httpd.git
synced 2025-08-06 11:06:17 +00:00
Fix a potential NULL pointer dereference found by clang.
Add a AP_DEBUG_ASSERT to quiet a clang false positive. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180329 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -257,7 +257,7 @@ int ssl_init_Module(apr_pool_t *p, apr_pool_t *plog,
|
||||
sc->session_cache_timeout = SSL_SESSION_CACHE_TIMEOUT;
|
||||
}
|
||||
|
||||
if (sc->server->pphrase_dialog_type == SSL_PPTYPE_UNSET) {
|
||||
if (sc->server && sc->server->pphrase_dialog_type == SSL_PPTYPE_UNSET) {
|
||||
sc->server->pphrase_dialog_type = SSL_PPTYPE_BUILTIN;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user