SECURITY: Fix safeguard against upward traversal in msglog files.
[exim.git] / src / src / deliver.c
index ba2948dfd71b8900e47316f39682f68c7e17da76..cf8ab09ebda1ab2001ed077ac02cf4c211f5f746 100644 (file)
@@ -334,7 +334,7 @@ static int
 open_msglog_file(uschar *filename, int mode, uschar **error)
 {
 if (Ustrstr(filename, US"/../"))
-  log_write(0, LOG_MAIN|LOG_PANIC,
+  log_write(0, LOG_MAIN|LOG_PANIC_DIE,
     "Attempt to open msglog file path with upward-traversal: '%s'\n", filename);
 
 for (int i = 2; i > 0; i--)