mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
vz: fixed null-pointer dereference in applying graphic params
Signed-off-by: Olga Krishtal <okrishtal@virtuozzo.com>
This commit is contained in:
parent
eb2fe4eb4a
commit
799b5aa59e
@ -2768,6 +2768,7 @@ static int prlsdkApplyGraphicsParams(PRL_HANDLE sdkdom,
|
||||
if (!gr) {
|
||||
pret = PrlVmCfg_SetVNCMode(sdkdom, PRD_DISABLED);
|
||||
prlsdkCheckRetExit(pret, -1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
pret = PrlVmCfg_SetVNCPassword(sdkdom, gr->data.vnc.auth.passwd ? : "");
|
||||
|
Loading…
x
Reference in New Issue
Block a user