From: Mark Andrews Date: Thu, 20 Feb 2014 12:04:54 +0000 (+1100) Subject: 3752. [bug] Address potential REQUIRE failure if X-Git-Tag: v9.10.0b1~42 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=86856f4f3069bb2d75851b56401ffde18f41198f;p=thirdparty%2Fbind9.git 3752. [bug] Address potential REQUIRE failure if DNS_STYLEFLAG_COMMENTDATA is set when printing out a rdataset. --- diff --git a/CHANGES b/CHANGES index 06a30c54b06..9c06ffde809 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,7 @@ +3752. [bug] Address potential REQUIRE failure if + DNS_STYLEFLAG_COMMENTDATA is set when printing out + a rdataset. + --- 9.10.0b1 released --- 3751. [tuning] The default setting for the -U option (setting diff --git a/lib/dns/masterdump.c b/lib/dns/masterdump.c index 18befdca412..51d0ec56012 100644 --- a/lib/dns/masterdump.c +++ b/lib/dns/masterdump.c @@ -465,7 +465,7 @@ rdataset_totext(dns_rdataset_t *rdataset, * Comment? */ if ((ctx->style.flags & DNS_STYLEFLAG_COMMENTDATA) != 0) - isc_buffer_putstr(target, ";"); + RETERR(str_totext(";", target)); /* * Owner name.