mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Buf size adjustment
This commit is contained in:
parent
94ed6b410d
commit
79d9ef9c87
@ -1207,7 +1207,7 @@ test_comp_filter_item(
|
||||
if ( !a->a_comp_data && attr_converter && nibble_mem_allocator ) {
|
||||
a->a_comp_data = malloc( sizeof( ComponentData ) );
|
||||
/* Memory chunk pre-allocation for decoders */
|
||||
a->a_comp_data->cd_mem_op = nibble_mem_allocator ( 1024, 128 );
|
||||
a->a_comp_data->cd_mem_op = nibble_mem_allocator ( 1024*4, 1024 );
|
||||
a->a_comp_data->cd_tree = attr_converter (a, syn, bv);
|
||||
}
|
||||
|
||||
@ -1220,7 +1220,7 @@ test_comp_filter_item(
|
||||
|
||||
/* Memory for storing will-be-extracted attribute values */
|
||||
attr_nm = nibble_mem_allocator ( 1024*4 , 1024 );
|
||||
if ( !attr_nm )return LDAP_PROTOCOL_ERROR;
|
||||
if ( !attr_nm ) return LDAP_PROTOCOL_ERROR;
|
||||
|
||||
/* Memory for storing component assertion values */
|
||||
if( !ca->ca_comp_data.cd_mem_op ) {
|
||||
|
Loading…
Reference in New Issue
Block a user