From: Howard Chu Date: Tue, 15 Jan 2002 03:31:37 +0000 (+0000) Subject: Fix ldap_utf8_lentab to detect illegal two-byte sequences. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~128 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=19f3ba216fcd04cd6cb7a1d46fc44211bf4d2451;p=openldap Fix ldap_utf8_lentab to detect illegal two-byte sequences. --- diff --git a/libraries/libldap/utf-8.c b/libraries/libldap/utf-8.c index 542814410a..d25fc3036c 100644 --- a/libraries/libldap/utf-8.c +++ b/libraries/libldap/utf-8.c @@ -78,7 +78,7 @@ const char ldap_utf8_lentab[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 0, 0 };