3752. [bug] Address potential REQUIRE failure if

DNS_STYLEFLAG_COMMENTDATA is set when printing out
                        a rdataset.
This commit is contained in:
Mark Andrews 2014-02-20 23:04:54 +11:00
parent c62ead1ae7
commit 86856f4f30
2 changed files with 5 additions and 1 deletions

View file

@ -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

View 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.