Michael Kublin has submitted this change and it was merged.

Change subject: core: fix NPE in canDoAction at AttachDisk.
......................................................................


core: fix NPE in canDoAction at AttachDisk.

If disk is null, then the method should return instead of proceeding
further as it could lead to NPE when disk is accessed.

Change-Id: If1cb0a34c663b2b069eca92ad5229041525ba56e
Signed-off-by: Sharad Mishra <[email protected]>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AttachDiskToVmCommand.java
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Michael Kublin: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: If1cb0a34c663b2b069eca92ad5229041525ba56e
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Sharad Mishra <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
Gerrit-Reviewer: Sharad Mishra <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to