Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-978

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.2, 1.5.0
    • 1.0.3, 1.5.2
    • core
    • None
    • n/a

    Description

      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 );
      }

      Attachments

        Activity

          People

            elecharny Emmanuel L├ęcharny
            danbar1963 Dan Barber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: