From: Kurt Zeilenga Date: Tue, 14 Mar 2000 04:25:49 +0000 (+0000) Subject: Mark statically allocated BerElement as valid. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~3148 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=72c6446ef64f8005effcdb44c999a44b53779d96;p=openldap Mark statically allocated BerElement as valid. --- diff --git a/libraries/libldap/cache.c b/libraries/libldap/cache.c index 0e01394a90..c11f998bbe 100644 --- a/libraries/libldap/cache.c +++ b/libraries/libldap/cache.c @@ -387,6 +387,7 @@ ldap_check_cache( LDAP *ld, ber_tag_t msgtype, BerElement *request ) return( -1 ); } + reqber.ber_valid = LBER_VALID_BERELEMENT reqber.ber_buf = reqber.ber_ptr = request->ber_buf; reqber.ber_end = request->ber_ptr;