Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1152

Exceptions thrown from handleAuthentication can cause buffer corruption issues in NIOServer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.3, 3.4.0
    • 3.4.0
    • server
    • None
    • Reviewed

    Description

      Exceptions thrown by an AuthenticationProvider's handleAuthentication method will not be caught, and can cause the buffers in the NIOServer to not read requests fully or properly. Any exceptions thrown here should be caught and treated as auth failure.

      Attachments

        1. ZOOKEEPER-1152.patch
          4 kB
          Camille Fournier

        Activity

          People

            fournc Camille Fournier
            fournc Camille Fournier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: