directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Cabrera (JIRA)" <directory-...@incubator.apache.org>
Subject [jira] Commented: (DIRLDAP-34) DnParser does not respect RFC2253
Date Fri, 04 Feb 2005 15:22:25 GMT
     [ http://issues.apache.org/jira/browse/DIRLDAP-34?page=comments#action_58599 ]
     
Alan Cabrera commented on DIRLDAP-34:
-------------------------------------

Fixed the infinite loop.  The string "CN=Before\0DAfter,O=Test,C=GB"  should be "CN=Before\\0DAfter,O=Test,C=GB".

We should be immune to bad strings like this.  We should add a check before we parse.

> DnParser does not respect RFC2253
> ---------------------------------
>
>          Key: DIRLDAP-34
>          URL: http://issues.apache.org/jira/browse/DIRLDAP-34
>      Project: Directory LDAP
>         Type: Bug
>   Components: Common
>     Versions: 0.8.0
>  Environment: NR
>     Reporter: Emmanuel Lecharny
>     Assignee: Alan Cabrera
>  Attachments: DnParserTest.java
>
> The DnParser does not conform to RFC 2253 and RFC 1779 :
> parsed  :  "CN=L. Eagle,O=Sue\, Grabbit and Runn,C=GB"
> expected : "CN=L. Eagle,O=Sue\,Grabbit and Runn,C=GB"
> Parsing "CN=Before\0DAfter,O=Test,C=GB" leads to an infinite loop
> Other tests are to be done ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message