[jira] Resolved: (DIREVE-266) ServerDirContext.search() with filter arguments always g
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > [jira] Resolved: (DIREVE-266) ServerDirContext.search() with filter arguments always g




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Resolved: (DIREVE-266) ServerDirContext.search() with filter arguments always g  
Trustin Lee (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-22-05 07:45 AM

[ http://issues.apache.org/jira/brows...VE-266?page=all ]

Trustin Lee resolved DIREVE-266:
--------------------------------

Fix Version: 0.9.3
Resolution: Fixed

The patch looks good.  I applied it.  But wouldn't there be any nested {
;} blocks?  Just a question by my curiousity.

> ServerDirContext.search() with filter arguments always gets index out of b
ounds (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
>      Fix For: 0.9.3
>  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 buff
er 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 { rea
ches 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/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:25 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register