You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2007/04/21 13:18:18 UTC
[jira] Closed: (DIRSERVER-326) ServerDirContext.search() with
filter arguments always gets index out of bounds (in two places).
[ 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.