Change in ovirt-engine[master]: core: prevent possible NPE

ahadas at redhat.com ahadas at redhat.com
Mon Dec 8 11:35:32 UTC 2014


Arik Hadas has submitted this change and it was merged.

Change subject: core: prevent possible NPE
......................................................................


core: prevent possible NPE

Coverity scan founded that NPE might be thrown in
ImportCommandBase#logImportEvents in case aliasesValuesMap is null.
Thus, null check is added before using the aliasesValuesMap variable.

Change-Id: I43a287f7245da2a4a0e10a71c58613c10df060f2
Signed-off-by: Arik Hadas <ahadas at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmCommandBase.java
1 file changed, 6 insertions(+), 4 deletions(-)

Approvals:
  Shahar Havivi: Looks good to me, approved
  Arik Hadas: Verified



-- 
To view, visit http://gerrit.ovirt.org/35953
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I43a287f7245da2a4a0e10a71c58613c10df060f2
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list