diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-07-29 10:05:46 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-07-29 10:05:46 +0100 |
commit | a69d2f2d7245edd5a9d0bd041ac900b43110cc57 (patch) | |
tree | c5f194aa5a37fb0011119787fde8619dd73e5a53 /src/libmime | |
parent | ed80e0873fde7bdec1199d6bde35c38f302bb606 (diff) | |
download | rspamd-a69d2f2d7245edd5a9d0bd041ac900b43110cc57.tar.gz rspamd-a69d2f2d7245edd5a9d0bd041ac900b43110cc57.zip |
[CritFix] Fix crash when the first received is faked
Diffstat (limited to 'src/libmime')
-rw-r--r-- | src/libmime/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/message.c b/src/libmime/message.c index 17680d3cd..87a0123fc 100644 --- a/src/libmime/message.c +++ b/src/libmime/message.c @@ -1522,7 +1522,7 @@ rspamd_message_parse (struct rspamd_task *task) need_recv_correction = TRUE; } else if (!(task->flags & RSPAMD_TASK_FLAG_NO_IP) && task->from_addr) { - if (raddr) { + if (!raddr) { need_recv_correction = TRUE; } else { |