2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

dns_message_renderreset should cause the message to forget the render

buffer.
This commit is contained in:
Mark Andrews
2000-03-16 06:51:04 +00:00
parent 659c68b446
commit acb0311b11

View File

@@ -1700,6 +1700,8 @@ dns_message_renderreset(dns_message_t *msg)
REQUIRE(DNS_MESSAGE_VALID(msg));
REQUIRE(msg->from_to_wire == DNS_MESSAGE_INTENTRENDER);
msg->buffer = NULL;
for (i = 0; i < DNS_SECTION_MAX; i++) {
msg->cursors[i] = NULL;
msg->counts[i] = 0;