diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-06-22 16:51:07 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-06-22 16:51:07 +0400 |
commit | e454ec3f7b08364f0b884692d80ea4b1b95e6901 (patch) | |
tree | 22cd7471828c97c2ec89413c58f4bc458ca805cd /src/protocol.c | |
parent | 4a51b80e3ef6573850007f5f83fb82370e0b8094 (diff) | |
download | rspamd-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.c | 1 |
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 */ |