diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2010-12-12 10:18:48 +0000 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-12-12 10:18:48 +0000 |
commit | 1e83d68b72d24d6255d2e78facbe01656515ab4f (patch) | |
tree | 1329391316410e27fb5f54689830948c08456c87 | |
parent | fa32850be0d9e605da1b33305c122f7a59a24650 (diff) |
Allow only absolute paths in TRUSTED_CONFIG_PREFIX_LIST, fix store leak
-rw-r--r-- | src/src/exim.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/src/exim.c b/src/src/exim.c index 9db61e2a9..6b82013f8 100644 --- a/src/src/exim.c +++ b/src/src/exim.c @@ -1888,7 +1888,7 @@ for (i = 1; i < argc; i++) uschar *start = big_buffer, *nl; while (*start && isspace(*start)) start++; - if (*start == '#') + if (*start != '/') continue; nl = Ustrchr(start, '\n'); if (nl) @@ -1920,6 +1920,7 @@ for (i = 1; i < argc; i++) break; } } + store_reset(reset_point); } else { |