mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
subschemaSubentry attributes could be leaked under some conditions,
plug them.
This commit is contained in:
parent
35c38e271d
commit
f704c35caf
@ -965,6 +965,7 @@ send_search_entry(
|
||||
ber_free( ber, 1 );
|
||||
send_ldap_result( conn, op, LDAP_OTHER,
|
||||
NULL, "encoding description error", NULL, NULL );
|
||||
attrs_free( aa );
|
||||
goto error_return;
|
||||
}
|
||||
|
||||
@ -1000,6 +1001,7 @@ send_search_entry(
|
||||
ber_free( ber, 1 );
|
||||
send_ldap_result( conn, op, LDAP_OTHER,
|
||||
NULL, "encoding values error", NULL, NULL );
|
||||
attrs_free( aa );
|
||||
goto error_return;
|
||||
}
|
||||
}
|
||||
@ -1017,6 +1019,7 @@ send_search_entry(
|
||||
ber_free( ber, 1 );
|
||||
send_ldap_result( conn, op, LDAP_OTHER,
|
||||
NULL, "encode end error", NULL, NULL );
|
||||
attrs_free( aa );
|
||||
goto error_return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user