summaryrefslogtreecommitdiffstats
path: root/src/protocol.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-06-22 16:51:07 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-06-22 16:51:07 +0400
commite454ec3f7b08364f0b884692d80ea4b1b95e6901 (patch)
tree22cd7471828c97c2ec89413c58f4bc458ca805cd /src/protocol.c
parent4a51b80e3ef6573850007f5f83fb82370e0b8094 (diff)
downloadrspamd-e454ec3f7b08364f0b884692d80ea4b1b95e6901.tar.gz
rspamd-e454ec3f7b08364f0b884692d80ea4b1b95e6901.zip
* Fix bug with infinite loops caused by outputting long urls
Diffstat (limited to 'src/protocol.c')
-rw-r--r--src/protocol.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/protocol.c b/src/protocol.c
index ebfaa4df7..014a5fae3 100644
--- a/src/protocol.c
+++ b/src/protocol.c
@@ -405,6 +405,7 @@ show_url_header (struct worker_task *task)
host.len = url->hostlen;
/* Skip long hosts to avoid protocol coollisions */
if (host.len > OUTBUFSIZ) {
+ cur = g_list_next (cur);
continue;
}
/* Do header folding */