aboutsummaryrefslogtreecommitdiff
path: root/dns/bind8
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2002-11-17 09:40:45 +0000
committerDoug Barton <dougb@FreeBSD.org>2002-11-17 09:40:45 +0000
commit0a22aff124bc28e4d66fbb43ce3ed2e94ff95510 (patch)
tree4009e4b212b629e43ccb6ae53daf858de797c03c /dns/bind8
parent1b6c0f85995db4027030598da09ae99a134bd238 (diff)
downloadports-0a22aff124bc28e4d66fbb43ce3ed2e94ff95510.tar.gz
ports-0a22aff124bc28e4d66fbb43ce3ed2e94ff95510.zip
Fix an array subscript error related to nibble string calculation
for IPv6 reverse lookups. This bug will not affect the majority of users. The bug has been confirmed by Nominum, and will be fixed in a future release. PR: bin/41388 Submitted by: TOGAWA Satoshi <toga@puyo.org>
Notes
Notes: svn path=/head/; revision=70298
Diffstat (limited to 'dns/bind8')
-rw-r--r--dns/bind8/files/patch-src_bin_dig_dig.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/dns/bind8/files/patch-src_bin_dig_dig.c b/dns/bind8/files/patch-src_bin_dig_dig.c
new file mode 100644
index 000000000000..d37d24e1e3cb
--- /dev/null
+++ b/dns/bind8/files/patch-src_bin_dig_dig.c
@@ -0,0 +1,11 @@
+--- src/bin/dig/dig.c.Dist Mon Jun 17 19:26:49 2002
++++ src/bin/dig/dig.c Sun Nov 17 01:34:37 2002
+@@ -1799,7 +1799,7 @@
+ in6->s6_addr[6] & 0x0f, (in6->s6_addr[6] >> 4) & 0x0f,
+ in6->s6_addr[5] & 0x0f, (in6->s6_addr[5] >> 4) & 0x0f,
+ in6->s6_addr[4] & 0x0f, (in6->s6_addr[4] >> 4) & 0x0f,
+- in6->s6_addr[6] & 0x0f, (in6->s6_addr[3] >> 4) & 0x0f,
++ in6->s6_addr[3] & 0x0f, (in6->s6_addr[3] >> 4) & 0x0f,
+ in6->s6_addr[2] & 0x0f, (in6->s6_addr[2] >> 4) & 0x0f,
+ in6->s6_addr[1] & 0x0f, (in6->s6_addr[1] >> 4) & 0x0f,
+ in6->s6_addr[0] & 0x0f, (in6->s6_addr[0] >> 4) & 0x0f);