You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Jacob S. Barrett (JIRA)" <di...@incubator.apache.org> on 2005/09/20 22:02:29 UTC
[jira] Updated: (DIREVE-266) ServerDirContext.search() with filter arguments always gets index out of bounds (in two places).
[ http://issues.apache.org/jira/browse/DIREVE-266?page=all ]
Jacob S. Barrett updated DIREVE-266:
------------------------------------
Attachment: search-filterargs.patch
> ServerDirContext.search() with filter arguments always gets index out of bounds (in two places).
> ------------------------------------------------------------------------------------------------
>
> Key: DIREVE-266
> URL: http://issues.apache.org/jira/browse/DIREVE-266
> Project: Directory Server
> Type: Bug
> Components: jndi-provider
> Versions: 0.9.3, 0.8, 0.9, 0.9.1, 0.9.2
> Reporter: Jacob S. Barrett
> Assignee: 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.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira