Stack overflow bug in JdbmPartition::getEntryUpdn( String dn )
--------------------------------------------------------------

                 Key: DIRSERVER-978
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-978
             Project: Directory ApacheDS
          Issue Type: Bug
          Components: core
         Environment: n/a
            Reporter: Dan Barber
            Priority: Minor


The following bug is in JdbmPartition

public final String getEntryUpdn( String dn ) throws NamingException
{
    return getEntryupdn( dn );
}

This will cause a stack overflow. The reason I didn't make the bug more serious 
is that Emmanuel let me know this method isn't currently being used. However, 
should someone attempt to use it the results would not be good. I believe the 
code should be:

public final String getEntryUpdn( String dn ) throws NamingException
{
    return store.getEntryupdn( dn );
}


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

Reply via email to