commit 64604af: [Minor] Fix crash

Vsevolod Stakhov vsevolod at highsecure.ru
Wed Feb 20 13:07:04 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-02-20 12:11:33 +0000
URL: https://github.com/rspamd/rspamd/commit/64604af61d3f1d8a7ada3eabe5fa62611620d16b

[Minor] Fix crash

---
 src/libutil/http_router.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/libutil/http_router.c b/src/libutil/http_router.c
index be45c4351..e9dc48962 100644
--- a/src/libutil/http_router.c
+++ b/src/libutil/http_router.c
@@ -389,6 +389,7 @@ rspamd_http_router_new (rspamd_http_router_error_handler_t eh,
 	new->finish_handler = fh;
 	new->response_headers = g_hash_table_new_full (rspamd_strcase_hash,
 			rspamd_strcase_equal, g_free, g_free);
+	new->ev_base = ctx->ev_base;
 
 	if (timeout) {
 		new->tv = *timeout;


More information about the Commits mailing list