[389-devel] Please review: [Bug 639289] Adding a new CN entry with UpperCase UTF-8 Character
Noriko Hosoi
nhosoi at redhat.com
Tue Oct 5 00:34:03 UTC 2010
https://bugzilla.redhat.com/show_bug.cgi?id=639289
https://bugzilla.redhat.com/attachment.cgi?id=451562&action=diff
https://bugzilla.redhat.com/attachment.cgi?id=451562&action=edit
Description:
There was a bug in the utf8 uppe2Lower table:
Character İ (LATIN CAPITAL LETTER I WITH DOT ABOVE) did not map
to the corresponding LATIN SMALL LETTER DOTLESS I (2 bytes) but
to ascii 'i' (1 byte). The shortened DN tailed with a garbage
character and the entry was treated as an orphan entry which does
not belong to any suffix.
This patch fixes the mapping table mismatch as well as adds a code
to dn_ignore_case_to_end to force to NULL terminate the converted
string.
Files:
ldap/servers/slapd/dn.c
ldap/servers/slapd/utf8compare.c
Thanks,
--noriko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6646 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/389-devel/attachments/20101004/af0f013d/attachment.bin
More information about the 389-devel
mailing list