diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-07-20 19:27:12 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-07-20 19:27:12 +0400 |
commit | 8bd40ccfcdccc717079d306e17d5d9d47ed85de6 (patch) | |
tree | af3b9942ec5bfb3797d7132efa5e77594355e536 /src | |
parent | 8321dee67dfcdc19bad7f740ada06f54b8b0b167 (diff) | |
download | rspamd-8bd40ccfcdccc717079d306e17d5d9d47ed85de6.tar.gz rspamd-8bd40ccfcdccc717079d306e17d5d9d47ed85de6.zip |
* Stupid error in calculation compressed label length
Diffstat (limited to 'src')
-rw-r--r-- | src/dns.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |