From: Vsevolod Stakhov Date: Wed, 18 Aug 2010 10:46:58 +0000 (+0400) Subject: * Fix assertion while look up value in NULL hash (found by cirtin) X-Git-Tag: 0.3.2~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=824cc64a68d7aa29926178bb6d8309625f4947e0;p=thirdparty%2Frspamd.git * Fix assertion while look up value in NULL hash (found by cirtin) --- diff --git a/src/view.c b/src/view.c index 13de5e8a93..ebfc06dc06 100644 --- a/src/view.c +++ b/src/view.c @@ -40,6 +40,7 @@ init_view (memory_pool_t * pool) new->pool = pool; new->from_hash = g_hash_table_new (rspamd_strcase_hash, rspamd_strcase_equal); new->symbols_hash = g_hash_table_new (rspamd_strcase_hash, rspamd_strcase_equal); + new->rcpt_hash = g_hash_table_new (rspamd_strcase_hash, rspamd_strcase_equal); new->ip_tree = radix_tree_create (); new->client_ip_tree = radix_tree_create ();