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

Re: Please test OPENLDAP_REL_ENG_2_3



At 02:53 PM 5/12/2006, Howard Chu wrote:
>ITS#4541
>   libraries/libldap/cyrus.c 1.134 -> 1.135
>                     kbind.c 1.40 -> 1.41
>                     open.c 1.112 -> 1.115
>                     request.c 1.130 -> 1.131


Applying this patch to RE23 leads to a segfault in
ldapsearch(1)....

#0  0x80601cb in ldap_pvt_url_scheme2proto (
    scheme=0x185 <Address 0x185 out of bounds>) at url.c:62
62              if( strcmp("ldap", scheme) == 0 ) {
(gdb) where
#0  0x80601cb in ldap_pvt_url_scheme2proto (
    scheme=0x185 <Address 0x185 out of bounds>) at url.c:62
#1  0x80526ce in ldap_int_open_connection (ld=0x8081000, conn=0x80800c0, 
    srv=0x8081034, async=0) at open.c:258
#2  0x805de98 in ldap_new_connection (ld=0x8081000, srvlist=0x8081034, 
    use_ldsb=1, connect=1, bind=0x0) at request.c:342
#3  0x80522ad in ldap_open_defconn (ld=0x8081000) at open.c:41
#4  0x805da0b in ldap_send_initial_request (ld=0x8081000, msgtype=96, 
    dn=0x8076ce2 "", ber=0x8080040, msgid=1) at request.c:105
#5  0x80566b0 in ldap_sasl_bind (ld=0x8081000, dn=0x8076ce2 "", mechanism=0x0, 
    cred=0xbfbfead8, sctrls=0x0, cctrls=0x0, msgidp=0xbfbfead4) at sasl.c:153
#6  0x8056d92 in ldap_simple_bind (ld=0x8081000, dn=0x0, passwd=0x0)
    at sbind.c:86
#7  0x805222b in ldap_bind (ld=0x8081000, dn=0x0, passwd=0x0, authmethod=128)
    at bind.c:77
#8  0x804f2d4 in tool_bind (ld=0x8081000) at common.c:968
#9  0x804c182 in main (argc=14, argv=0xbfbff1ec) at ldapsearch.c:658