From: David Woodhouse Date: Sun, 12 Dec 2010 10:18:48 +0000 (+0000) Subject: Allow only absolute paths in TRUSTED_CONFIG_PREFIX_LIST, fix store leak X-Git-Tag: exim-4_73_RC0~9 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1e83d68b72d24d6255d2e78facbe01656515ab4f;p=exim.git Allow only absolute paths in TRUSTED_CONFIG_PREFIX_LIST, fix store leak --- 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 {