mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fix seg fault (test003).
This commit is contained in:
parent
1566454e6e
commit
bf1c91b165
@ -696,7 +696,7 @@ int escape_value(
|
|||||||
assert( in );
|
assert( in );
|
||||||
assert( out );
|
assert( out );
|
||||||
|
|
||||||
out->bv_val = (char *) ch_malloc( in->bv_len * 3 ) + 1;
|
out->bv_val = (char *) ch_malloc( ( in->bv_len * 3 ) + 1 );
|
||||||
out->bv_len = 0;
|
out->bv_len = 0;
|
||||||
|
|
||||||
#undef NIBBLE
|
#undef NIBBLE
|
||||||
|
Loading…
Reference in New Issue
Block a user