You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Dan Barber (JIRA)" <ji...@apache.org> on 2007/06/20 20:11:26 UTC

[jira] Created: (DIRSERVER-978) Stack overflow bug in JdbmPartition::getEntryUpdn( String dn )

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.


[jira] Updated: (DIRSERVER-978) Stack overflow bug in JdbmPartition::getEntryUpdn( String dn )

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSERVER-978:
----------------------------------------

    Affects Version/s: 1.0.2
                       1.5.0
        Fix Version/s: 1.0.3
                       1.5.2

This is an issue we can easily fix, as this method is _never_ used. The best would be to remove ir from the API (anyway, Dan is plain right, this is a damn big bug !)

> 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
>    Affects Versions: 1.0.2, 1.5.0
>         Environment: n/a
>            Reporter: Dan Barber
>            Priority: Minor
>             Fix For: 1.5.2, 1.0.3
>
>
> 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.


[jira] Resolved: (DIRSERVER-978) Stack overflow bug in JdbmPartition::getEntryUpdn( String dn )

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny resolved DIRSERVER-978.
-----------------------------------------

    Resolution: Fixed

Has been fixed in http://svn.apache.org/viewvc?view=rev&revision=580566

> 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
>    Affects Versions: 1.0.2, 1.5.0
>         Environment: n/a
>            Reporter: Dan Barber
>            Assignee: Emmanuel Lecharny
>            Priority: Minor
>             Fix For: 1.5.2, 1.0.3
>
>
> 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.


[jira] Assigned: (DIRSERVER-978) Stack overflow bug in JdbmPartition::getEntryUpdn( String dn )

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny reassigned DIRSERVER-978:
-------------------------------------------

    Assignee: Emmanuel Lecharny

> 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
>    Affects Versions: 1.0.2, 1.5.0
>         Environment: n/a
>            Reporter: Dan Barber
>            Assignee: Emmanuel Lecharny
>            Priority: Minor
>             Fix For: 1.5.2, 1.0.3
>
>
> 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.


[jira] Closed: (DIRSERVER-978) Stack overflow bug in JdbmPartition::getEntryUpdn( String dn )

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny closed DIRSERVER-978.
---------------------------------------


closed

> 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
>    Affects Versions: 1.5.0, 1.0.2
>         Environment: n/a
>            Reporter: Dan Barber
>            Assignee: Emmanuel Lecharny
>            Priority: Minor
>             Fix For: 1.5.2, 1.0.3
>
>
> 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.