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

Incorrect PDU buffer handling in LdapDecoder with log level set to DEBUG

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.5, 1.5.6, 1.5.7
    • 2.0.0-M1
    • ldap
    • None

    Description

      Setting of log4j log level to DEBUG leads to incorrect PDU buffer handling by LdapDecoder class in case of more than one PDU in same buffer. First PDU processed normally, but remainder of second PDU data will be lost due buffer flipping in PDU dumping code. This behavior causes various LDAP codec errors under load.

      Attachments

        1. LdapDecoder.diff
          2 kB
          Victor Antonovich

        Activity

          People

            Unassigned Unassigned
            kapyar Victor Antonovich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: