[Date Prev][Date Next]
Re: Bug In RfcFilter.java prohibits escaped filters (ITS#2500)
At 03:33 PM 5/13/2003, you wrote:
>A patch has been applied to fix this problem. Thank you
>for bringing this to our attention.
>Please close the ITS
>>>> <email@example.com> 08-May-03 12:53:40 PM >>>
>Full_Name: Will Wood
>Submission from: (NULL) (188.8.131.52)
>There's a bug in RfcFilter.java in JLDAP
>that prohibits an escaped search filter from being properly addressed.
>in the latest CVS drop.
>in unescapeString, a variable temp is being declared and initialized
>escaped hex digit, therefore the high order bits are always being
>Solution move the
>declaration outside of the for loop and re-initialize when the escape
>is hit. I've also reported this bug to Novell as well, however I'm
>no JUnit test caught the failure of using escaped values?
>> char temp = 0;
>< char temp = 0; // get the value of the excaped
>> temp = 0; // wipe out any old