From 12c32c3e6c4e34e8befda8fca0f3609cebaa6bb7 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 27 Apr 2005 02:38:55 +0000 Subject: [PATCH] fix previous commit --- libraries/liblber/memory.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/liblber/memory.c b/libraries/liblber/memory.c index 5b4089fec2..904630fd30 100644 --- a/libraries/liblber/memory.c +++ b/libraries/liblber/memory.c @@ -728,6 +728,7 @@ ber_bvreplace_x( struct berval *dst, LDAP_CONST struct berval *src, void *ctx ) } AC_MEMCPY( dst->bv_val, src->bv_val, src->bv_len + 1 ); + dst->bv_len = src->bv_len; return dst; } -- 2.39.5