fix bound check (ITS#4449)

This commit is contained in:
Pierangelo Masarati 2006-04-01 15:22:13 +00:00
parent fc89650cce
commit 3aac54f089

View File

@ -1075,7 +1075,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 );