From: Vsevolod Stakhov Date: Mon, 22 Jun 2009 12:51:07 +0000 (+0400) Subject: * Fix bug with infinite loops caused by outputting long urls X-Git-Tag: 0.2.7~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e454ec3f7b08364f0b884692d80ea4b1b95e6901;p=thirdparty%2Frspamd.git * Fix bug with infinite loops caused by outputting long urls --- diff --git a/src/protocol.c b/src/protocol.c index ebfaa4df75..014a5fae39 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 */