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

Infinite Loop when deleting an alias with suffix size > 1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.5.4
    • 1.5.5
    • ldap
    • None
    • windows xp

    Description

      if you have a domain with a suffix size greather than 1, eg. dc=example,dc=com, and try to remove an alias, the operation will hang forever.
      I have traced the problem and figure that the method dropAliasIndices from JdbmStore.java have a while loop that drives the operation to hang forever if your suffix is greater than 1. Thats because the getPrefix is used with parameter 1 instead of ancestorDn.size() - 1

      Attachments

        1. AliasDeleteIT.java
          5 kB
          Marcos Macedo
        2. DIRSERVER-1352.patch
          2 kB
          Marcos Macedo

        Activity

          People

            seelmann Stefan Seelmann
            bar4ka Marcos Macedo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified