[Date Prev][Date Next] [Chronological] [Thread] [Top]

Bug in JLDAP RfcFilter.java

There's a bug in RfcFilter.java that prohibits an escaped search filter from
being properly
addressed.  This is in the latest CVS drop.

in unescapeString, a variable temp is being declared and initialized for
each escaped hex digit, therefore the high order bits are always being
chucked.  Solution move the
declaration outside of the for loop and re-initialize when the escape
character is hit.

>       char temp = 0;
<                     char temp = 0;  // get the value of the excaped
>             temp = 0;                        // wipe out any old bits.