You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Phil Zampino (JIRA)" <ji...@apache.org> on 2017/11/30 18:16:00 UTC

[jira] [Updated] (KNOX-1132) Address Coverity Defects in gateway-service-remoteconfig

     [ https://issues.apache.org/jira/browse/KNOX-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Phil Zampino updated KNOX-1132:
-------------------------------
    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)()


  was:
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)()



> Address Coverity Defects in gateway-service-remoteconfig
> --------------------------------------------------------
>
>                 Key: KNOX-1132
>                 URL: https://issues.apache.org/jira/browse/KNOX-1132
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 0.14.0
>            Reporter: Phil Zampino
>            Assignee: Phil Zampino
>             Fix For: 0.14.0
>
>
> 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)()



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)