]> Git Repo - qemu.git/commit - ui/vnc.c
vnc: refuse to set a password with VNC_AUTH_NONE
authorGerd Hoffmann <[email protected]>
Wed, 11 Dec 2013 12:15:37 +0000 (13:15 +0100)
committerGerd Hoffmann <[email protected]>
Mon, 2 Jun 2014 14:29:01 +0000 (16:29 +0200)
commitcf864569cd9134ee503ad9eb6be2881001c0ed80
treeab3c48358f06c59332ede9d3d84d6c213830edb8
parent9bb931802e6ab5ab6947e3cb9cea934fc0724274
vnc: refuse to set a password with VNC_AUTH_NONE

Current code silently changes the authentication settings
in case you try to set a password without password authentication
turned on.  This is bad.  Return an error instead.

If we want allow changing auth settings at runtime this should
be done explicitly using a separate monitor command, not as
side effect of set_passwd.

Signed-off-by: Gerd Hoffmann <[email protected]>
ui/vnc.c
This page took 0.021165 seconds and 4 git commands to generate.