diff options
author | Tom Kistner <tom@duncanthrax.net> | 2005-03-09 08:27:51 +0000 |
---|---|---|
committer | Tom Kistner <tom@duncanthrax.net> | 2005-03-09 08:27:51 +0000 |
commit | cacfbf29f42f6ef3a26fee0d29ceaeaa276514c2 (patch) | |
tree | 920ea470477cd624b26ff69bdb3db1f298b01d84 /src | |
parent | 84330b7b581bb93f145706b31288f13408312ccc (diff) |
DK: fix missing NULL pointer check for DK expansions
Diffstat (limited to 'src')
-rw-r--r-- | src/src/expand.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/src/expand.c b/src/src/expand.c index 4a59c0580..6e7d3550f 100644 --- a/src/src/expand.c +++ b/src/src/expand.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/expand.c,v 1.15 2005/03/08 16:57:28 ph10 Exp $ */ +/* $Cambridge: exim/src/src/expand.c,v 1.16 2005/03/09 08:27:51 tom Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -1257,6 +1257,7 @@ while (last > first) #ifdef EXPERIMENTAL_DOMAINKEYS case vtype_dk_verify: + if (dk_verify_block == NULL) return US""; s = NULL; if (Ustrcmp(var_table[middle].name, "dk_result") == 0) s = dk_verify_block->result_string; |