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:01:14 UTC

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

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


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.


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

Posted by "Norval Hope (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny reassigned DIRSERVER-1391:
--------------------------------------------

    Assignee: Emmanuel Lecharny

> 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
>            Assignee: Emmanuel Lecharny
>             Fix For: 1.5.5
>
>         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.


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

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny closed DIRSERVER-1391.
----------------------------------------


> 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
>            Assignee: Emmanuel Lecharny
>             Fix For: 1.5.5
>
>         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.


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

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSERVER-1391:
-----------------------------------------

    Fix Version/s: 1.5.5

> 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
>             Fix For: 1.5.5
>
>         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.


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

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny resolved DIRSERVER-1391.
------------------------------------------

    Resolution: Fixed

Fixed with :
ttp://svn.apache.org/viewvc?rev=798875&view=rev

> 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
>            Assignee: Emmanuel Lecharny
>             Fix For: 1.5.5
>
>         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.