diff options
Diffstat (limited to 'src/firejail/output.c')
-rw-r--r-- | src/firejail/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/output.c b/src/firejail/output.c index b99604ec4..4f68b8ca3 100644 --- a/src/firejail/output.c +++ b/src/firejail/output.c | |||
@@ -48,7 +48,7 @@ void check_output(int argc, char **argv) { | |||
48 | drop_privs(0); | 48 | drop_privs(0); |
49 | char *outfile = argv[outindex]; | 49 | char *outfile = argv[outindex]; |
50 | outfile += (enable_stderr)? 16:9; | 50 | outfile += (enable_stderr)? 16:9; |
51 | invalid_filename(outfile); | 51 | invalid_filename(outfile, 0); // no globbing |
52 | 52 | ||
53 | // do not accept directories, links, and files with ".." | 53 | // do not accept directories, links, and files with ".." |
54 | if (strstr(outfile, "..") || is_link(outfile) || is_dir(outfile)) { | 54 | if (strstr(outfile, "..") || is_link(outfile) || is_dir(outfile)) { |