diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2013-12-11 13:15:37 +0100 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-06-02 16:29:01 +0200 |
| commit | cf864569cd9134ee503ad9eb6be2881001c0ed80 (patch) | |
| tree | ab3c48358f06c59332ede9d3d84d6c213830edb8 /hw/core/qdev-properties-system.c | |
| parent | 9bb931802e6ab5ab6947e3cb9cea934fc0724274 (diff) | |
| download | focaccia-qemu-cf864569cd9134ee503ad9eb6be2881001c0ed80.tar.gz focaccia-qemu-cf864569cd9134ee503ad9eb6be2881001c0ed80.zip | |
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 <kraxel@redhat.com>
Diffstat (limited to 'hw/core/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions