mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#7797 Fix segfault in slapo-collect
This commit is contained in:
parent
c46c6ecfa4
commit
508f4158bc
@ -401,8 +401,8 @@ collect_response( Operation *op, SlapReply *rs )
|
|||||||
* current search result
|
* current search result
|
||||||
*/
|
*/
|
||||||
if ( vals ) {
|
if ( vals ) {
|
||||||
attr_merge( rs->sr_entry, ci->ci_ad[idx],
|
attr_merge_normalize( rs->sr_entry, ci->ci_ad[idx],
|
||||||
vals, NULL );
|
vals, op->o_tmpmemctx );
|
||||||
ber_bvarray_free_x( vals, op->o_tmpmemctx );
|
ber_bvarray_free_x( vals, op->o_tmpmemctx );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user