]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
3752. [bug] Address potential REQUIRE failure if
authorMark Andrews <marka@isc.org>
Thu, 20 Feb 2014 12:04:54 +0000 (23:04 +1100)
committerMark Andrews <marka@isc.org>
Thu, 20 Feb 2014 12:04:54 +0000 (23:04 +1100)
                        DNS_STYLEFLAG_COMMENTDATA is set when printing out
                        a rdataset.

CHANGES
lib/dns/masterdump.c

diff --git a/CHANGES b/CHANGES
index 06a30c54b06c48cdff30851c2d7776d92f43475d..9c06ffde8090b37abb412675a42a0657793af434 100644 (file)
--- 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
index 18befdca4128fd00e9ae6390caa838cb1d9c62fd..51d0ec5601235a1f21a38c2745a3562b1a487f04 100644 (file)
@@ -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.