From 8bd40ccfcdccc717079d306e17d5d9d47ed85de6 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 20 Jul 2010 19:27:12 +0400 Subject: * Stupid error in calculation compressed label length --- src/dns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/dns.c b/src/dns.c index 3b97fca5f..50dc7dea0 100644 --- a/src/dns.c +++ b/src/dns.c @@ -703,7 +703,7 @@ dns_parse_labels (guint8 *in, char **target, guint8 **pos, struct rspamd_dns_rep } begin = l; p = l + *l + 1; - namelen += *p; + namelen += *l; labels ++; } else { -- cgit v1.2.3