From: | "Dane Smith (c1pher)" <c1pher@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-dns/djbdns/files: string_length_255.patch |
Date: | Mon, 04 Apr 2011 14:05:12 |
Message-Id: | 20110404140501.221CF20057@flycatcher.gentoo.org |
1 | c1pher 11/04/04 14:05:01 |
2 | |
3 | Added: string_length_255.patch |
4 | Log: |
5 | net-dns/djbdns: Rev bump wrt bug 241158. Update maintainer info. |
6 | |
7 | (Portage version: 2.2.0_alpha29/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-dns/djbdns/files/string_length_255.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/djbdns/files/string_length_255.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/djbdns/files/string_length_255.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: string_length_255.patch |
16 | =================================================================== |
17 | --- a/tinydns-data.c 2001-02-11 16:11:45.000000000 -0500 |
18 | +++ b/tinydns-data.c 2011-04-02 10:41:34.356302891 -0400 |
19 | @@ -399,7 +399,7 @@ |
20 | i = 0; |
21 | while (i < f[1].len) { |
22 | k = f[1].len - i; |
23 | - if (k > 127) k = 127; |
24 | + if (k > 255) k = 255; |
25 | ch = k; |
26 | rr_add(&ch,1); |
27 | rr_add(f[1].s + i,k); |