List Info

Thread: (ITS#5025) back_ldap crashes if it gets a search reference from remote server




(ITS#5025) back_ldap crashes if it gets a search reference from remote server
country flaguser name
United States
2007-06-19 12:51:53
Full_Name: Matthew Hardin
Version: 2.3.35
OS: Linux  2.6.9
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (63.193.240.128)


The back_ldap backend crashes if it gets a search reference
from the remote
server. The following patch corrects the problem.

--- search.c    2007-06-19 11:01:13.000000000 -0700
+++ search.c.patched    2007-06-19 10:50:38.000000000 -0700
 -383,6
+383,7 
                                BER_BVZERO(
&rs->sr_ref[ cnt ] );

                                /* ignore return value by
now */
+                               rs->sr_entry = NULL;
                                ( void
)send_search_reference( op, rs );

                        } else {



[1]

about | contact  Other archives ( Real Estate discussion Medical topics )