components/bind/patches/009-RT43139.patch
author pkidd <patrick.kidd@oracle.com>
Thu, 13 Oct 2016 09:11:42 -0700
branchs11u3-sru
changeset 7100 c0b69390942f
parent 7076 332c44bd55bf
permissions -rw-r--r--
build metadata for S11.3SRU14.2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7076
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
     1
This patch was derived from a source code patch provided by ISC to
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
     2
resolve ISC ticket RT #43139. [9.6-ESV-R11-S8]
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
     3
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
     4
diff --git a/CHANGES b/CHANGES
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
     5
index a439041..5b9e552 100644
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
     6
--- a/CHANGES
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
     7
+++ b/CHANGES
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
     8
@@ -1,3 +1,8 @@
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
     9
+	--- 9.6-ESV-R11-S8 released ---
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    10
+
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    11
+4467.	[security]	It was possible to trigger a assertion when rendering
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    12
+			a message. (CVE-2016-2776) [RT #43139]
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    13
+
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    14
 	--- 9.6-ESV-R11-S7 released ---
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    15
 
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    16
 4406.	[bug]		getrrsetbyname with a non absolute name could
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    17
diff --git a/lib/dns/api b/lib/dns/api
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    18
index 1320b72..9505559 100644
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    19
--- a/lib/dns/api
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    20
+++ b/lib/dns/api
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    21
@@ -5,5 +5,5 @@
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    22
 # 9.9: 90-109
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    23
 # 9.9-sub: 130-139
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    24
 LIBINTERFACE = 114
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    25
-LIBREVISION = 2
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    26
+LIBREVISION = 3
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    27
 LIBAGE = 1
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    28
diff --git a/lib/dns/message.c b/lib/dns/message.c
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    29
index 550058b..869d258 100644
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    30
--- a/lib/dns/message.c
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    31
+++ b/lib/dns/message.c
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    32
@@ -1734,7 +1734,7 @@ dns_message_renderbegin(dns_message_t *msg, dns_compress_t *cctx,
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    33
 	if (r.length < DNS_MESSAGE_HEADERLEN)
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    34
 		return (ISC_R_NOSPACE);
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    35
 
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    36
-	if (r.length < msg->reserved)
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    37
+	if (r.length - DNS_MESSAGE_HEADERLEN < msg->reserved)
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    38
 		return (ISC_R_NOSPACE);
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    39
 
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    40
 	/*
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    41
@@ -1833,6 +1833,27 @@ norender_rdataset(const dns_rdataset_t *rdataset, unsigned int options,
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    42
 	return (ISC_TRUE);
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    43
 }
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    44
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    45
+static isc_result_t
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    46
+renderset(dns_rdataset_t *rdataset, dns_name_t *owner_name,
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    47
+	  dns_compress_t *cctx, isc_buffer_t *target,
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    48
+	  unsigned int reserved, unsigned int options, unsigned int *countp)
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    49
+{
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    50
+	isc_result_t result;
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    51
+
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    52
+	/*
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    53
+	 * Shrink the space in the buffer by the reserved amount.
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    54
+	 */
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    55
+	if (target->length - target->used < reserved)
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    56
+		return (ISC_R_NOSPACE);
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    57
+
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    58
+	target->length -= reserved;
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    59
+	result = dns_rdataset_towire(rdataset, owner_name,
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    60
+				     cctx, target, options, countp);
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    61
+	target->length += reserved;
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    62
+
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    63
+	return (result);
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    64
+}
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    65
+
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    66
 isc_result_t
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    67
 dns_message_rendersection(dns_message_t *msg, dns_section_t sectionid,
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    68
 			  unsigned int options)
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    69
@@ -1875,6 +1896,8 @@ dns_message_rendersection(dns_message_t *msg, dns_section_t sectionid,
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    70
 	/*
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    71
 	 * Shrink the space in the buffer by the reserved amount.
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    72
 	 */
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    73
+	if (msg->buffer->length - msg->buffer->used < msg->reserved)
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    74
+		return (ISC_R_NOSPACE);
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    75
 	msg->buffer->length -= msg->reserved;
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    76
 
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    77
 	total = 0;
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    78
@@ -2134,9 +2157,8 @@ dns_message_renderend(dns_message_t *msg) {
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    79
 		 * Render.
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    80
 		 */
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    81
 		count = 0;
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    82
-		result = dns_rdataset_towire(msg->opt, dns_rootname,
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    83
-					     msg->cctx, msg->buffer, 0,
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    84
-					     &count);
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    85
+		result = renderset(msg->opt, dns_rootname, msg->cctx,
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    86
+				   msg->buffer, msg->reserved, 0, &count);
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    87
 		msg->counts[DNS_SECTION_ADDITIONAL] += count;
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    88
 		if (result != ISC_R_SUCCESS)
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    89
 			return (result);
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    90
@@ -2152,9 +2174,8 @@ dns_message_renderend(dns_message_t *msg) {
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    91
 		if (result != ISC_R_SUCCESS)
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    92
 			return (result);
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    93
 		count = 0;
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    94
-		result = dns_rdataset_towire(msg->tsig, msg->tsigname,
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    95
-					     msg->cctx, msg->buffer, 0,
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    96
-					     &count);
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    97
+		result = renderset(msg->tsig, msg->tsigname, msg->cctx,
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    98
+				   msg->buffer, msg->reserved, 0, &count);
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
    99
 		msg->counts[DNS_SECTION_ADDITIONAL] += count;
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
   100
 		if (result != ISC_R_SUCCESS)
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
   101
 			return (result);
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
   102
@@ -2175,9 +2196,8 @@ dns_message_renderend(dns_message_t *msg) {
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
   103
 		 * the owner name of a SIG(0) is irrelevant, and will not
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
   104
 		 * be set in a message being rendered.
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
   105
 		 */
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
   106
-		result = dns_rdataset_towire(msg->sig0, dns_rootname,
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
   107
-					     msg->cctx, msg->buffer, 0,
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
   108
-					     &count);
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
   109
+		result = renderset(msg->sig0, dns_rootname, msg->cctx,
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
   110
+				   msg->buffer, msg->reserved, 0, &count);
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
   111
 		msg->counts[DNS_SECTION_ADDITIONAL] += count;
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
   112
 		if (result != ISC_R_SUCCESS)
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
   113
 			return (result);
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
   114
diff --git a/version b/version
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
   115
index fdf9b10..1aebb0c 100644
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
   116
--- a/version
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
   117
+++ b/version
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
   118
@@ -9,5 +9,5 @@ MAJORVER=9
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
   119
 MINORVER=6
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
   120
 PATCHVER=
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
   121
 RELEASETYPE=-ESV
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
   122
 RELEASEVER=-R11
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
   123
-EXTENSIONS=-S7
332c44bd55bf 24708620 Upgrade Solaris to BIND 9.6-ESV-R11-S8
William.D.Johnston <William.D.Johnston@oracle.com>
parents:
diff changeset
   124
+EXTENSIONS=-S8