From: Howard Chu Date: Fri, 30 May 2008 17:29:47 +0000 (+0000) Subject: ITS#5542 fix loop iterator X-Git-Tag: LOCKER_IDS~123 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=99160d7c20d732ef16185ba1b986e4a29f6027d4;p=openldap ITS#5542 fix loop iterator --- 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;