mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 22:45:39 +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(DNS_MESSAGE_VALID(msg));
|
||||||
REQUIRE(msg->from_to_wire == DNS_MESSAGE_INTENTRENDER);
|
REQUIRE(msg->from_to_wire == DNS_MESSAGE_INTENTRENDER);
|
||||||
|
|
||||||
|
msg->buffer = NULL;
|
||||||
|
|
||||||
for (i = 0; i < DNS_SECTION_MAX; i++) {
|
for (i = 0; i < DNS_SECTION_MAX; i++) {
|
||||||
msg->cursors[i] = NULL;
|
msg->cursors[i] = NULL;
|
||||||
msg->counts[i] = 0;
|
msg->counts[i] = 0;
|
||||||
|
Reference in New Issue
Block a user