From 99160d7c20d732ef16185ba1b986e4a29f6027d4 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 30 May 2008 17:29:47 +0000 Subject: [PATCH] ITS#5542 fix loop iterator --- libraries/libldap/t61.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/libldap/t61.c b/libraries/libldap/t61.c index 3245c42fc5..e5c89bf811 100644 --- a/libraries/libldap/t61.c +++ b/libraries/libldap/t61.c @@ -684,6 +684,8 @@ int ldap_utf8s_to_t61s( struct berval *src, struct berval *dst ) *d++ = 0x3f; break; } + i += j; + c += j; } *d = '\0'; return LDAP_SUCCESS; -- 2.39.5