Phil Zampino created KNOX-1132:
----------------------------------
Summary: 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)