From: Oliver Gondža Date: Thu, 8 Feb 2018 16:12:11 +0000 (+0100) Subject: Make sure auth argument is escaped X-Git-Tag: v1.8.90~39^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F597%2Fhead;p=tigervnc.git Make sure auth argument is escaped --- diff --git a/unix/vncserver b/unix/vncserver index 2ef436a7..9e7a6ac5 100755 --- a/unix/vncserver +++ b/unix/vncserver @@ -207,7 +207,7 @@ my %config; # override these where present. $default_opts{desktop} = "edString($desktopName); $default_opts{httpd} = $vncJavaFiles if ($vncJavaFiles); -$default_opts{auth} = $xauthorityFile; +$default_opts{auth} = "edString($xauthorityFile); $default_opts{geometry} = $geometry if ($geometry); $default_opts{depth} = $depth if ($depth); $default_opts{pixelformat} = $pixelformat if ($pixelformat);