ASF Bugzilla – Attachment 22746 Details for
Bug 45994
uldap_connection_init SEGFAULT if apr_ldap lib cannot be loaded
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Better patch
util_ldap.c.patch.txt (text/plain), 638 bytes, created by
Dan Poirier
on 2008-10-16 12:00:34 UTC
(
hide
)
Description:
Better patch
Filename:
MIME Type:
Creator:
Dan Poirier
Created:
2008-10-16 12:00:34 UTC
Size:
638 bytes
patch
obsolete
>Index: modules/ldap/util_ldap.c >=================================================================== >--- modules/ldap/util_ldap.c (revision 705289) >+++ modules/ldap/util_ldap.c (working copy) >@@ -292,7 +292,16 @@ > APR_LDAP_NONE, > &(result)); > >- if (result != NULL && result->rc) { >+ if (NULL == result) { >+ /* something really bad happened */ >+ ldc->bound = 0; >+ if (NULL == ldc->reason) { >+ ldc->reason = "LDAP: ldap initialization failed"; >+ } >+ return(APR_EGENERAL); >+ } >+ >+ if (result->rc) { > ldc->reason = result->reason; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 45994
:
22740
| 22746