Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: dev
[Bug 230] A number of LDAP-related things
 

Index | Next | Previous | View Flat


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/ ##

Subject User Time
[Bug 230] A number of LDAP-related things pdp at exim Mar 22, 2011, 3:32 AM
    [Bug 230] A number of LDAP-related things pdp at exim Mar 22, 2011, 3:46 AM
    [Bug 230] A number of LDAP-related things adam at NetBSD Mar 22, 2011, 3:48 AM
    [Bug 230] A number of LDAP-related things git at exim Mar 22, 2011, 4:17 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.