mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 08:39:37 -05:00
handle embedded '\0' (ITS#6379)
This commit is contained in:
parent
dd2f158b52
commit
9cfa465107
1 changed files with 1 additions and 1 deletions
|
|
@ -2265,7 +2265,7 @@ postalAddressNormalize(
|
|||
|
||||
p = normalized->bv_val;
|
||||
for ( l = 0; !BER_BVISNULL( &nlines[l] ); l++ ) {
|
||||
p = lutil_strncopy( p, nlines[l].bv_val, nlines[l].bv_len );
|
||||
p = lutil_memcopy( p, nlines[l].bv_val, nlines[l].bv_len );
|
||||
|
||||
*p++ = '$';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue