Apache Directory Project - [jira] Created: (DIRSERVER-978) Stack overflow bug in

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > June 2007 > [jira] Created: (DIRSERVER-978) Stack overflow bug in





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Created: (DIRSERVER-978) Stack overflow bug in
Dan Barber (JIRA)

2007-06-20, 7:11 pm

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.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com