diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-06-02 20:55:19 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-06-02 20:55:19 +0400 |
commit | 631741e28256b05f3291e92197aad749993c2b9c (patch) | |
tree | 20ebc6d6f16fbfd2baebef0f965aa8c8b78fb136 /lib | |
parent | 3b0487ad7ca4227133c495f26b3a6ee6a08a5831 (diff) | |
download | rspamd-631741e28256b05f3291e92197aad749993c2b9c.tar.gz rspamd-631741e28256b05f3291e92197aad749993c2b9c.zip |
Fix bug in librsapmdclient with uninitialized struct field.
Fix bug in DNS parser that caused invalid parsing of CNAME fields.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/librspamdclient.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/librspamdclient.c b/lib/librspamdclient.c index 0c624e2e2..92c513cdc 100644 --- a/lib/librspamdclient.c +++ b/lib/librspamdclient.c @@ -275,6 +275,7 @@ rspamd_connect_random_server (gboolean is_control, GError **err) } new->in_buf = g_string_sized_new (BUFSIZ); + new->cur_metric = NULL; return new; err: |