
pdp at exim
Mar 22, 2011, 3:32 AM
Views: 553
Permalink
|
|
[Bug 230] A number of LDAP-related things
|
|
------- You are receiving this mail because: ------- You are the QA contact for the bug. http://bugs.exim.org/show_bug.cgi?id=230 Phil Pennock <pdp [at] exim> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adam [at] NetBSD Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #11 from Phil Pennock <pdp [at] exim> 2011-03-22 10:32:49 --- Adam, When compiling with clang, I got a warning about parameter mismatch for the call to ldap_set_option() in the LDAP_OPT_X_TLS_REQUIRE_CERT case. It looks like a legitimate complaint. ldap_set_option(ld, LDAP_OPT_X_TLS_REQUIRE_CERT, cert_option); Shouldn't that be &cert_option ? The code certainly appears to work as-is, but I don't know why: an arbitrary bit-pattern shouldn't be a dereferenceable pointer. Or is this call correct and OpenLDAP's documentation just not covering this case? Thanks, -Phil -- Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email -- ## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
|