From 21c84955aeac9c7f9ac9c2f8c27c804327ff2c86 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 22 Oct 2014 17:11:47 +0100 Subject: [PATCH] Remove /0 mask for SPF mx as well. Reported by: @citrin --- src/libserver/spf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libserver/spf.c b/src/libserver/spf.c index b8f5cbc50..c30d893d1 100644 --- a/src/libserver/spf.c +++ b/src/libserver/spf.c @@ -855,7 +855,6 @@ parse_spf_mx (struct rspamd_task *task, cb = rspamd_mempool_alloc (task->task_pool, sizeof (struct spf_dns_cb)); cb->rec = rec; cb->addr = addr; - memset (&addr->data.normal, 0, sizeof (addr->data.normal)); cb->cur_action = SPF_RESOLVE_MX; cb->in_include = rec->in_include; if (make_dns_request (task->resolver, task->s, task->task_pool, -- 2.39.5