[Date Prev][Date Next]
Bad matching with wide-byte characters (ITS#1771)
Full_Name: Hirofumi Momose
OS: Solaris 2.6
Submission from: (NULL) (184.108.40.206)
I found a problem of search operation with 2-byte characters.
a) The directory has following entry.
b) Search by ldap client with filter byte sequence of
which describe "sn=WIDE_BYTE_CHARACTERS*".
Above sn does not match of entry.
c) Server respond the entry matched.
I found the problem caused by strncasecmp() in
caseIgnoreSubstringsFilter(). 8-bit width data flows into
strncasecmp() of this place. This result generates a problem.