From: Vsevolod Stakhov Date: Sun, 25 Feb 2018 16:17:15 +0000 (+0000) Subject: [Fix] Do not stop parsing headers on bad IP header X-Git-Tag: 1.7.0~127 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=36d4a2dd759bd506044fc7bf6dcd35c3d4f7fb4a;p=rspamd.git [Fix] Do not stop parsing headers on bad IP header --- diff --git a/src/libserver/protocol.c b/src/libserver/protocol.c index 791938401..243e8a40c 100644 --- a/src/libserver/protocol.c +++ b/src/libserver/protocol.c @@ -318,7 +318,6 @@ rspamd_protocol_handle_headers (struct rspamd_task *task, IF_HEADER (IP_ADDR_HEADER) { if (!rspamd_parse_inet_address (&task->from_addr, hv->str, hv->len)) { msg_err_task ("bad ip header: '%V'", hv); - return FALSE; } debug_task ("read IP header, value: %V", hv); has_ip = TRUE;