aboutsummaryrefslogtreecommitdiffstats
path: root/src/firejail/x11.c
diff options
context:
space:
mode:
authorLibravatar ಚಿರಾಗ್ ನಟರಾಜ್ <chiraag.nataraj@gmail.com>2018-07-21 23:08:01 -0400
committerLibravatar ಚಿರಾಗ್ ನಟರಾಜ್ <chiraag.nataraj@gmail.com>2018-07-21 23:08:01 -0400
commit2d3c4e43a14a6ee06f90758a88dfbd57ca394046 (patch)
tree8a5cff19e470e07fa34edf1287eeb740ec7990a4 /src/firejail/x11.c
parentFix #2051 - add resolv.conf to private-etc for wire-desktop (diff)
downloadfirejail-2d3c4e43a14a6ee06f90758a88dfbd57ca394046.tar.gz
firejail-2d3c4e43a14a6ee06f90758a88dfbd57ca394046.tar.zst
firejail-2d3c4e43a14a6ee06f90758a88dfbd57ca394046.zip
Fixes #1404
Diffstat (limited to 'src/firejail/x11.c')
-rw-r--r--src/firejail/x11.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/firejail/x11.c b/src/firejail/x11.c
index df6092dff..9cbe6598e 100644
--- a/src/firejail/x11.c
+++ b/src/firejail/x11.c
@@ -950,6 +950,8 @@ void x11_start_xpra_new(int argc, char **argv, char *display_str) {
950 } 950 }
951 } 951 }
952 952
953 server_argv[spos++] = NULL;
954
953 assert((int) fpos < (argc+2)); 955 assert((int) fpos < (argc+2));
954 assert(!firejail_argv[fpos]); 956 assert(!firejail_argv[fpos]);
955 // no overrun 957 // no overrun