Import cache debugging bug (ITS#501) fix from HEAD.

This commit is contained in:
Kurt Zeilenga 2002-01-05 03:27:48 +00:00
parent a528b153f4
commit b3560cfc62
2 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,8 @@
OpenLDAP 2.0 Change Log OpenLDAP 2.0 Change Log
OpenLDAP 2.0.20 Engineering OpenLDAP 2.0.20 Engineering
Fixed -lldap cache debug bug (ITS#1501)
Updated BerkeleyDB 4 support
OpenLDAP 2.0.19 Release OpenLDAP 2.0.19 Release
Fixed back-ldbm not filter indexing (ITS#1405) Fixed back-ldbm not filter indexing (ITS#1405)

View File

@ -387,9 +387,11 @@ ldap_check_cache( LDAP *ld, ber_tag_t msgtype, BerElement *request )
return( -1 ); return( -1 );
} }
memset( &reqber, '\0', sizeof(reqber) );
reqber.ber_valid = LBER_VALID_BERELEMENT; reqber.ber_valid = LBER_VALID_BERELEMENT;
reqber.ber_buf = reqber.ber_ptr = request->ber_buf; reqber.ber_buf = reqber.ber_ptr = request->ber_buf;
reqber.ber_end = request->ber_ptr; reqber.ber_end = request->ber_ptr;
reqber.ber_debug = ber_int_debug;
c_time = time( NULL ); c_time = time( NULL );