aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/http.c')
-rw-r--r--src/libutil/http.c1
1 files changed, 1 insertions, 0 deletions
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);