From c2cbcd8d98ae8e1b8d1ef06bc6dc53f77ac3bd16 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 9 Feb 2016 16:43:40 +0000 Subject: Fix some issues found by coverity --- src/libutil/http.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libutil/http.c') diff --git a/src/libutil/http.c b/src/libutil/http.c index 605439129..21b763108 100644 --- a/src/libutil/http.c +++ b/src/libutil/http.c @@ -723,6 +723,7 @@ rspamd_http_decrypt_message (struct rspamd_http_connection *conn, msg->body_buf.len = 0; + memset (&decrypted_parser, 0, sizeof (decrypted_parser)); http_parser_init (&decrypted_parser, conn->type == RSPAMD_HTTP_SERVER ? HTTP_REQUEST : HTTP_RESPONSE); -- cgit v1.2.3