]> git.sur5r.net Git - openldap/commitdiff
Mark statically allocated BerElement as valid.
authorKurt Zeilenga <kurt@openldap.org>
Tue, 14 Mar 2000 04:25:49 +0000 (04:25 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 14 Mar 2000 04:25:49 +0000 (04:25 +0000)
libraries/libldap/cache.c

index 0e01394a90202358455bb247f6c1b4c71ef90444..c11f998bbe7bdec0f390fa3d44445cd538dceece 100644 (file)
@@ -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;