summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2010-12-12 10:18:48 +0000
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-12-12 10:18:48 +0000
commit1e83d68b72d24d6255d2e78facbe01656515ab4f (patch)
tree1329391316410e27fb5f54689830948c08456c87
parentfa32850be0d9e605da1b33305c122f7a59a24650 (diff)
Allow only absolute paths in TRUSTED_CONFIG_PREFIX_LIST, fix store leak
-rw-r--r--src/src/exim.c3
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
{