diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/firejail/main.c b/src/firejail/main.c index f5acaa603..0811fa806 100644 --- a/src/firejail/main.c +++ b/src/firejail/main.c | |||
@@ -1059,6 +1059,9 @@ int main(int argc, char **argv) { | |||
1059 | if (!ppath) | 1059 | if (!ppath) |
1060 | errExit("strdup"); | 1060 | errExit("strdup"); |
1061 | 1061 | ||
1062 | // checking for strange chars in the file name, no globbing | ||
1063 | invalid_filename(ppath, 0); | ||
1064 | |||
1062 | profile_read(ppath); | 1065 | profile_read(ppath); |
1063 | custom_profile = 1; | 1066 | custom_profile = 1; |
1064 | free(ppath); | 1067 | free(ppath); |