spiceproxy : allow only spice port range

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
Alexandre Derumier 2013-07-22 13:03:04 +02:00 committed by Dietmar Maurer
parent e63d8c5257
commit f60bd577b7

View File

@ -500,6 +500,8 @@ sub handle_spice_proxy_request {
eval {
die "Port $spiceport is not allowed" if ($spiceport < 61000 || $spiceport > 61099);
my $rpcenv = $self->{rpcenv};
$rpcenv->init_request();