Asaf Shakarchi has submitted this change and it was merged.
Change subject: webadmin: A NPE check in ImportVmModel:init method.
......................................................................
webadmin: A NPE check in ImportVmModel:init method.
There's a possible branch of statement, that if executed
a null value will be dereferenced. this patch verifies that the var
dataCenter is not null before using it.
Change-Id: Icdba43d13299d0768c1449c450de61cb6b0a3df9
Signed-off-by: Asaf Shakarchi <asaf(a)redhat.com>
---
M
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/ImportVmModel.java
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Asaf Shakarchi: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/11723
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Icdba43d13299d0768c1449c450de61cb6b0a3df9
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Asaf Shakarchi <asaf(a)redhat.com>
Gerrit-Reviewer: Asaf Shakarchi <asaf(a)redhat.com>
Gerrit-Reviewer: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan(a)redhat.com>
Gerrit-Reviewer: Vered Volansky <vvolansk(a)redhat.com>