From a787a8b15249d3206c813fe2a802274013797b5d Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 5 Apr 2006 20:08:48 +0000 Subject: [PATCH] fd arrary bound check --- servers/slapd/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 5f01a04362..7482ed4ce2 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -1043,7 +1043,7 @@ Connection* connection_next( Connection *c, ber_socket_t *index ) assert( connections != NULL ); assert( index != NULL ); - assert( *index >= 0 && *index < MCA_ARRAY_SIZE ); + assert( *index >= 0 && *index <= dtblsize ); if( c != NULL ) ldap_pvt_thread_mutex_unlock( &c->c_mutex ); -- 2.39.5