From 72c6446ef64f8005effcdb44c999a44b53779d96 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 14 Mar 2000 04:25:49 +0000 Subject: [PATCH] Mark statically allocated BerElement as valid. --- libraries/libldap/cache.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.5