Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-1132

Address Coverity Defects in gateway-service-remoteconfig

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.14.0
    • Fix Version/s: 0.14.0
    • Component/s: Server
    • Labels:

      Description

      A Coverity scan reported some "defects" in the recently-added gateway-service-remoteconfig module.

      After review, the test code "defects" will not be addressed, but the following will:

      ______________________________________________________________________________
      CID 1383366: Null pointer dereferences (NULL_RETURNS)
      /gateway-service-remoteconfig/src/main/java/org/apache/hadoop/gateway/service/config/remote/zk/RemoteConfigurationRegistryJAASConfig.java: 106 in org.apache.hadoop.gateway.service.config.remote.zk.RemoteConfigurationRegistryJAASConfig.createEntry(org.apache.hadoop.gateway.service.config.remote.RemoteConfigurationRegistryConfig)()
      ________________________________________________________________________________________________________
      CID 1383364: Null pointer dereferences (NULL_RETURNS)
      /gateway-service-remoteconfig/src/main/java/org/apache/hadoop/gateway/service/config/remote/zk/CuratorClientService.java: 339 in org.apache.hadoop.gateway.service.config.remote.zk.CuratorClientService$ChildEntryListenerAdapter.childEvent(org.apache.curator.framework.CuratorFramework, org.apache.curator.framework.recipes.cache.PathChildrenCacheEvent)()

        Attachments

        1. KNOX-1132.patch
          4 kB
          Philip Zampino

          Activity

            People

            • Assignee:
              pzampino Philip Zampino
              Reporter:
              pzampino Philip Zampino
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: