[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4690) segfault in ldap_count_values() with PHP

madcoder@gmail.com wrote:
> What more can I do to debug this problem?
Well, I've posted a bug to PHP about their using deprecated LDAP code, 
but it was basically bounced with "mind your own business" or sort of 
(and this __IS__ my own business, by the way :).  You could try 
rebuilding PHP's LDAP stuff defining -DLDAP_DEPRECATED=1 and see what 
happens.  I've seen similar problems with AMD64 when functions got 
linked without a prototype, and ldap_get_values does not have a 
prototype in ldap.h unless the above is defined.


Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
Office:   +39.02.23998309
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it