]> source.dussan.org Git - tigervnc.git/commitdiff
Make sure auth argument is escaped 597/head
authorOliver Gondža <ogondza@gmail.com>
Thu, 8 Feb 2018 16:12:11 +0000 (17:12 +0100)
committerOliver Gondža <ogondza@gmail.com>
Tue, 20 Feb 2018 08:43:37 +0000 (09:43 +0100)
unix/vncserver

index 2ef436a7a47b229c585503c2bf9468eed8c314e6..9e7a6ac5dfcbd5e603407fb5eb9f9c2615d48ae7 100755 (executable)
@@ -207,7 +207,7 @@ my %config;
 # override these where present.
 $default_opts{desktop} = &quotedString($desktopName);
 $default_opts{httpd} = $vncJavaFiles if ($vncJavaFiles);
-$default_opts{auth} = $xauthorityFile;
+$default_opts{auth} = &quotedString($xauthorityFile);
 $default_opts{geometry} = $geometry if ($geometry);
 $default_opts{depth} = $depth if ($depth);
 $default_opts{pixelformat} = $pixelformat if ($pixelformat);