directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DIRSERVER-326) ServerDirContext.search() with filter arguments always gets index out of bounds (in two places).
Date Sat, 21 Apr 2007 11:18:18 GMT

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

Emmanuel Lecharny closed DIRSERVER-326.
---------------------------------------


Closing all issues created in 2005 and before which are marked resolved

> ServerDirContext.search() with filter arguments always gets index out of bounds (in two
places).
> ------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-326
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-326
>             Project: Directory ApacheDS
>          Issue Type: Bug
>            Reporter: Jacob S. Barrett
>         Assigned To: Alex Karasulu
>         Attachments: search-filterargs.patch
>
>
> When searching the ServerDirContext with filter arguments it throws index out of bounds
exceptions in two places.
> The first place is where it attempts to substitute the value into the buffer it uses
the index of the } char as the index into the arguments.
> The second one, after you fix the first, is when the search for { reaches the end of
the string.
> The attached patch fixes both and includes a JUnit test.

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


Mime
View raw message