Commit eabaac5f authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#6764

parent dd81a020
...@@ -14,6 +14,7 @@ OpenLDAP 2.4.24 Engineering ...@@ -14,6 +14,7 @@ OpenLDAP 2.4.24 Engineering
Added contrib/kinit for kerberos tickets Added contrib/kinit for kerberos tickets
Added contrib/noopsrch for entry counting (ITS#6598) Added contrib/noopsrch for entry counting (ITS#6598)
Fixed liblber to not close invalid sockets (ITS#6585) Fixed liblber to not close invalid sockets (ITS#6585)
Fixed liblber unmatched brace handling (ITS#6764)
Fixed liblber error setting (ITS#6732) Fixed liblber error setting (ITS#6732)
Fixed liblber memory debugging (ITS#6733) Fixed liblber memory debugging (ITS#6733)
Fixed libldap connectionless warnings (ITS#6747) Fixed libldap connectionless warnings (ITS#6747)
......
...@@ -390,6 +390,11 @@ int ber_flatten2( ...@@ -390,6 +390,11 @@ int ber_flatten2(
return -1; return -1;
} }
/* unmatched "{" and "}" */
if ( ber->ber_sos_ptr != NULL ) {
return -1;
}
if ( ber == NULL ) { if ( ber == NULL ) {
/* ber is null, create an empty berval */ /* ber is null, create an empty berval */
bv->bv_val = NULL; bv->bv_val = NULL;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment