From: Kurt Zeilenga Date: Sat, 9 Oct 2004 03:20:05 +0000 (+0000) Subject: ITS#3359: Crash on recursive rebind following referral X-Git-Tag: OPENLDAP_REL_ENG_2_2_18~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=228610dd33e6b90ca1b18d70f8acf4769d6cbf7e;p=openldap ITS#3359: Crash on recursive rebind following referral --- diff --git a/libraries/libldap/result.c b/libraries/libldap/result.c index 03356c5cef..707f51f967 100644 --- a/libraries/libldap/result.c +++ b/libraries/libldap/result.c @@ -349,7 +349,7 @@ wait4msg( { ld->ld_errno = (rc == -1 ? LDAP_SERVER_DOWN : LDAP_TIMEOUT); - return( rc ); + return -1; } if ( rc == -1 ) {