Uploaded image for project: 'Hot Rod Native client'
  1. Hot Rod Native client
  2. HRCPP-27

ConfigurationBuilder.internalProtocolVersion is not initialized

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 6.0.0.Alpha1
    • None
    • None
    • None

    Description

      ConfigurationBuilder.internalProtocolVersion is not initialized by default to PROTOCOL_VERSION_12. This results in no Codec found in RemoteCacheManagerImpl and leads to segfault later when the first Ping is executed.

      There is no error handling for NULL when the Codec is retrieved.

      Constant PROTOCOL_VERSION_12 is defined three times: in include/Configuration.xxx, src/hotrod/impl/configuration/Configuration.xxx and src/hotrod/impl/configuration/ConfigurationBuilder.xxx

      Attachments

        Activity

          People

            ttarrant@redhat.com Tristan Tarrant
            rvansa1@redhat.com Radim Vansa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: