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:
@@ -317,6 +317,8 @@ static int uldap_connection_init(request_rec *r,
|
||||
|
||||
if (result->rc) {
|
||||
ldc->reason = result->reason;
|
||||
ldc->bound = 0;
|
||||
return result->rc;
|
||||
}
|
||||
|
||||
if (NULL == ldc->ldap)
|
||||
|
Reference in New Issue
Block a user