1
0
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:
Stefan Fritsch
2010-08-18 22:59:45 +00:00
parent 7ffa5cece3
commit 73bae8d90f
2 changed files with 5 additions and 0 deletions

View File

@@ -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)