directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Barber (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRSERVER-978) Stack overflow bug in JdbmPartition::getEntryUpdn( String dn )
Date Wed, 20 Jun 2007 18:11:26 GMT
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.


Mime
View raw message