mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 17:49:59 -05:00
ITS#5897 fix bval length of serverID w/URL
This commit is contained in:
parent
c4f85692e0
commit
d495c16861
1 changed files with 1 additions and 1 deletions
|
|
@ -1028,7 +1028,7 @@ config_generic(ConfigArgs *c) {
|
|||
if ( !BER_BVISEMPTY( &si->si_url )) {
|
||||
bv.bv_len = si->si_url.bv_len + 6;
|
||||
bv.bv_val = ch_malloc( bv.bv_len );
|
||||
sprintf( bv.bv_val, "%d %s", si->si_num,
|
||||
bv.bv_len = sprintf( bv.bv_val, "%d %s", si->si_num,
|
||||
si->si_url.bv_val );
|
||||
ber_bvarray_add( &c->rvalue_vals, &bv );
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue