]> git.proxmox.com Git - qemu.git/commit
spice: add sanity check for spice ports
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 7 Jul 2011 15:04:17 +0000 (17:04 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 20 Jul 2011 08:08:53 +0000 (10:08 +0200)
commitdf9cb669425051f4f4364cffb19c9b8089e04297
tree8ba476bd2086a7509b6f1751059478e331bafb96
parent03ff09580ef6cbc4a893b6e3e6bbff33180ec70a
spice: add sanity check for spice ports

Make sure at least one port (port=.. or tls-port=...)
is specified.  Also apply range checks to the port numbers.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/spice-core.c