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

Potential NRE in AbstractBTreePartition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0.AM28
    • None
    • None

    Description

      Let's see buildEntryDn() method of AbstractBTreePartition class.

      There is comparison of entryDnCache value with null in line 2808, that hints that the method put, which calls in 2869 line, can dereference null in entryDnCache. Is it absolutely true that in complex the conditions in lines 2808 and 2812 must only works as "true+true" or be skipped by first "false"? Does this part of code need another check before 2869 line?

      Attachments

        Activity

          People

            Unassigned Unassigned
            zilotinaed Ekaterina Zilotina
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: