Record types which support a empty rdata field were not handling the empty rdata field case.

This commit is contained in:
Mark Andrews
2018-10-27 09:58:23 +11:00
parent 9ff13b23f7
commit 2ff57d8a39
8 changed files with 111 additions and 2 deletions

View File

@@ -482,7 +482,7 @@ dns_test_rdatafromstring(dns_rdata_t *rdata, dns_rdataclass_t rdclass,
* Parse input string, determining result.
*/
result = dns_rdata_fromtext(rdata, rdclass, rdtype, lex, dns_rootname,
0, NULL, &target, NULL);
0, mctx, &target, NULL);
destroy_lexer:
isc_lex_destroy(&lex);