Change in ovirt-engine[master]: core: making sure not throw NPE when opening SPICE console

oourfali at redhat.com oourfali at redhat.com
Wed Aug 6 18:48:16 UTC 2014


Oved Ourfali has submitted this change and it was merged.

Change subject: core: making sure not throw NPE when opening SPICE console
......................................................................


core: making sure not throw NPE when opening SPICE console

When processing console request we get username from db and perform
contains and substring on it. We did not check whether the name is null.
This patch introduces this check.


Bug-Url: https://bugzilla.redhat.com/1120692
Change-Id: Idd5f4a33f8fc5c41faead26afd7ce91c2412ac16
Signed-off-by: pkliczewski <piotr.kliczewski at gmail.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsEventListener.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Oved Ourfali: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Idd5f4a33f8fc5c41faead26afd7ce91c2412ac16
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list