From: Vsevolod Stakhov Date: Tue, 28 Jul 2009 11:17:42 +0000 (+0400) Subject: * Fix initializing of http reply structure to avoid core dumps when we got connection... X-Git-Tag: 0.2.7~68 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e1803284cd6e5c86772b298fd203b64c9e090351;p=rspamd.git * Fix initializing of http reply structure to avoid core dumps when we got connection errors --- diff --git a/src/map.c b/src/map.c index 5ed1cfe40..8bef4d179 100644 --- a/src/map.c +++ b/src/map.c @@ -676,6 +676,7 @@ http_callback (int fd, short what, void *ud) cbd->data = data; cbd->state = 0; cbd->fd = sock; + cbd->reply = NULL; event_add (&cbd->ev, &cbd->tv); } }