Hi,

Please find the latest report on new defect(s) introduced to cloudstack found 
with Coverity Scan.

1 new defect(s) introduced to cloudstack found with Coverity Scan.
1 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent 
build analyzed by Coverity Scan.

New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1338387:  Null pointer dereferences  (NULL_RETURNS)
/plugins/hypervisors/ovm3/src/main/java/com/cloud/hypervisor/ovm3/resources/Ovm3HypervisorGuru.java:
 115 in 
com.cloud.hypervisor.ovm3.resources.Ovm3HypervisorGuru.performSideEffectsForDelegationOnCommand(long,
 com.cloud.agent.api.Command)()


________________________________________________________________________________________________________
*** CID 1338387:  Null pointer dereferences  (NULL_RETURNS)
/plugins/hypervisors/ovm3/src/main/java/com/cloud/hypervisor/ovm3/resources/Ovm3HypervisorGuru.java:
 115 in 
com.cloud.hypervisor.ovm3.resources.Ovm3HypervisorGuru.performSideEffectsForDelegationOnCommand(long,
 com.cloud.agent.api.Command)()
109                     LOGGER.debug("Snapshot to Template: " + cmd);
110                     DataStoreTO srcStore = srcData.getDataStore();
111                     DataStoreTO destStore = destData.getDataStore();
112                     if (srcStore instanceof NfsTO && destStore instanceof 
NfsTO) {
113                         HostVO host = hostDao.findById(hostId);
114                         EndPoint ep = 
endPointSelector.selectHypervisorHost(new ZoneScope(host.getDataCenterId()));
>>>     CID 1338387:  Null pointer dereferences  (NULL_RETURNS)
>>>     Calling a method on null object "ep".
115                         host = hostDao.findById(ep.getId());
116                         hostDao.loadDetails(host);
117                     }
118                 }
119             }
120         }


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
https://scan.coverity.com/projects/cloudstack?tab=overview

To manage Coverity Scan email notifications for "dev@cloudstack.apache.org", 
click 
https://scan.coverity.com/subscriptions/edit?email=dev%40cloudstack.apache.org&token=494aabd5ba647999fa41b6d766646231

Reply via email to