X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/11b3bc4dfd112747273573c2e895021398959d23..145396a644de3d31ed90104fd29bcd795e9ccad1:/src/src/readconf.c diff --git a/src/src/readconf.c b/src/src/readconf.c index 62b6d5b85..37df2464e 100644 --- a/src/src/readconf.c +++ b/src/src/readconf.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/readconf.c,v 1.19 2006/02/13 12:02:59 ph10 Exp $ */ +/* $Cambridge: exim/src/src/readconf.c,v 1.20 2006/02/16 14:54:15 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -812,6 +812,10 @@ for (;;) } *t = 0; + if (*ss != '/') + log_write(0, LOG_PANIC_DIE|LOG_CONFIG_IN, ".include specifies a non-" + "absolute path \"%s\"", ss); + if (include_if_exists != 0 && (Ustat(ss, &statbuf) != 0)) continue; save = store_get(sizeof(config_file_item));