mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
dns_message_renderreset should cause the message to forget the render
buffer.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user