mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
Mark statically allocated BerElement as valid.
This commit is contained in:
parent
117b6a91d0
commit
72c6446ef6
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user