[Exim] Exim 3.34 assertion failure--LDAP related

Etusivu
Poista viesti
Vastaa
Lähettäjä: Peter A. Savitch
Päiväys:  
Vastaanottaja: Philip Hazel
Kopio: John W Baxter
Aihe: [Exim] Exim 3.34 assertion failure--LDAP related
Hello Philip,

Wednesday, March 13, 2002, 2:07:32 PM, you wrote:

PH> You never know!


Never mind 4th Exim, it does not matter.

Look at this "backtrace":

exim-4.01/src/lookups/ldap.c(506):
ldap_err2string(ldap_result2error(lcp->ld, result, 0)));

openldap-2.0.23/libraries/libldap/error.c(171):
  rc = ldap_parse_result( ld, r, &err,
        NULL, NULL, NULL, NULL, freeit );


openldap-2.0.23/libraries/libldap/error.c(221):
assert( r != NULL );

openldap-2.0.23/include/ac/assert.h(41):
openldap-2.0.23/include/ac/assert.h(44):
((test) ? (void)0 : ber_pvt_assert( __FILE__, __LINE__, "test" ) )

openldap-2.0.23/libraries/liblber/assert.c(33):
abort();

Exim passes `result' as NULL which is being asserted by the OpenLDAP.
May be LDAP server failures mentioned by John give this effect.

Exim MUST NOT pass `result' as NULL to ldap_result2error.
This leads to abort(3) library call in assert.c(33) and thus CRASHES
Exim. Philip, I seems to be Exim territory ;-)

--
Best regards,
 Peter                            mailto:spam4octan@highway.ru