]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
check the result from dns_message_headertotext
authorMark Andrews <marka@isc.org>
Fri, 6 Sep 2019 01:38:39 +0000 (11:38 +1000)
committerMark Andrews <marka@isc.org>
Fri, 6 Sep 2019 06:12:47 +0000 (16:12 +1000)
bin/tools/mdig.c

index 6188f9a0385404b0b006ca2d96d0b18b9b6eef6c..06870d51b1ba323865121479a5f652457b0de240 100644 (file)
@@ -364,6 +364,7 @@ recvresponse(isc_task_t *task, isc_event_t *event) {
 
                printf("    %s:\n", "response_message_data");
                result = dns_message_headertotext(response, style, flags, buf);
+               CHECK("dns_message_headertotext", result);
        } else if (display_comments && !display_short_form) {
                printf(";; Got answer:\n");