From 9215296d34407e487187a0ef30bf623d2a417dc5 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Tue, 23 May 2017 21:52:43 +0200 Subject: Fix another "subdirname" variable dereference issue --- src/firejail/profile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/firejail/profile.c b/src/firejail/profile.c index 11258892e..cabea05f3 100644 --- a/src/firejail/profile.c +++ b/src/firejail/profile.c @@ -852,7 +852,7 @@ int profile_check_line(char *ptr, int lineno, const char *fname) { arg_overlay_reuse = 1; char *subdirname = ptr + 14; - if (subdirname == '\0') { + if (*subdirname == '\0') { fprintf(stderr, "Error: invalid overlay option\n"); exit(1); } -- cgit v1.2.3-70-g09d2