Revert introduction of alloc_insecure_tainted_data
[exim.git] / src / src / directory.c
index 11bf7338b98d14b685c8df434c580f4ce4f210b3..5363cd405a37cd4b57baaa5323883fa3b9703d48 100644 (file)
@@ -44,8 +44,8 @@ uschar c = 1;
 struct stat statbuf;
 uschar * path;
 
-if (is_tainted2(name, LOG_MAIN|LOG_PANIC, "Tainted path '%s' for new directory", name))
-  { p = US"create"; path = US name; errno = EACCES; goto bad; }
+if (is_tainted(name)) 
+  { p = US"create"; path = US name; errno = ERRNO_TAINT; goto bad; }
 
 if (parent)
   {