mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Properly check the result returned by apr_ldap_init: There may have been an
error even if ldc->ldap != NULL. PR 46076 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@986974 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -6,6 +6,9 @@ Changes with Apache 2.3.7
|
|||||||
mod_dav, mod_cache, mod_session: Fix Handling of requests without a path
|
mod_dav, mod_cache, mod_session: Fix Handling of requests without a path
|
||||||
segment. PR: 49246 [Mark Drayton, Jeff Trawick]
|
segment. PR: 49246 [Mark Drayton, Jeff Trawick]
|
||||||
|
|
||||||
|
*) mod_ldap: Properly check the result returned by apr_ldap_init. PR 46076.
|
||||||
|
[Stefan Fritsch]
|
||||||
|
|
||||||
*) mod_rewrite: Log errors if rewrite map files cannot be opened. PR 49639.
|
*) mod_rewrite: Log errors if rewrite map files cannot be opened. PR 49639.
|
||||||
[Stefan Fritsch]
|
[Stefan Fritsch]
|
||||||
|
|
||||||
|
@@ -317,6 +317,8 @@ static int uldap_connection_init(request_rec *r,
|
|||||||
|
|
||||||
if (result->rc) {
|
if (result->rc) {
|
||||||
ldc->reason = result->reason;
|
ldc->reason = result->reason;
|
||||||
|
ldc->bound = 0;
|
||||||
|
return result->rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (NULL == ldc->ldap)
|
if (NULL == ldc->ldap)
|
||||||
|
Reference in New Issue
Block a user