You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Norval Hope (JIRA)" <ji...@apache.org> on 2009/07/29 04:07:14 UTC

[jira] Updated: (DIRSERVER-1391) filter "(attr=*+*)" causes infinite loop

     [ https://issues.apache.org/jira/browse/DIRSERVER-1391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norval Hope updated DIRSERVER-1391:
-----------------------------------

    Attachment: DIRSERVER-1391.patch

This trivial patch fixes the problem by ensuring that '+' is no longer incorrectly thought of as requiring escaping in LDAP filters.

> filter "(attr=*+*)" causes infinite loop
> ----------------------------------------
>
>                 Key: DIRSERVER-1391
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1391
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: 1.5.4
>         Environment: windows XP
>            Reporter: Norval Hope
>         Attachments: DIRSERVER-1391.patch
>
>
> StringTool.UNICODE_SUBSET has an error in it where '+' is treated as requiring escaping in filters, even though it isn't. This results in an infinite loop results when parsing the filter mentioned.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.