Change in ovirt-engine[master]: engine: Fix potential NPE in SD CommandBase

tnisan at redhat.com tnisan at redhat.com
Mon Dec 14 09:55:07 UTC 2015


Tal Nisan has submitted this change and it was merged.

Change subject: engine: Fix potential NPE in SD CommandBase
......................................................................


engine: Fix potential NPE in SD CommandBase

Fix potential NPE in StorageDomainCommandBase.
Adding a test with null status.

Issue found by Coverity #1201892

Change-Id: I2f6a32c9df40cfc5a724b4bd2583ecdad805a892
Signed-off-by: Fred Rolland <frolland at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/domain/StorageDomainCommandBase.java
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/storage/domain/StorageDomainCommandBaseTest.java
2 files changed, 8 insertions(+), 1 deletion(-)

Approvals:
  Tal Nisan: Looks good to me, approved; Passed CI tests
  Freddy Rolland: Verified



-- 
To view, visit https://gerrit.ovirt.org/50390
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I2f6a32c9df40cfc5a724b4bd2583ecdad805a892
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Freddy Rolland <frolland at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Fred Rolland <frolland at redhat.com>
Gerrit-Reviewer: Freddy Rolland <frolland at redhat.com>
Gerrit-Reviewer: Idan Shaby <ishaby at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list