]> gitweb.michael.orlitzky.com - mjo-overlay.git/blobdiff - net-dns/djbdns/files/string_length_255.patch
Add djbdns from portage.
[mjo-overlay.git] / net-dns / djbdns / files / string_length_255.patch
diff --git a/net-dns/djbdns/files/string_length_255.patch b/net-dns/djbdns/files/string_length_255.patch
new file mode 100644 (file)
index 0000000..ad383b7
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/tinydns-data.c   2001-02-11 16:11:45.000000000 -0500
++++ b/tinydns-data.c   2011-04-02 10:41:34.356302891 -0400
+@@ -399,7 +399,7 @@
+       i = 0;
+       while (i < f[1].len) {
+         k = f[1].len - i;
+-        if (k > 127) k = 127;
++        if (k > 255) k = 255;
+         ch = k;
+         rr_add(&ch,1);
+         rr_add(f[1].s + i,k);