Previously stack with buffer for test dns message went out of scope
before the message was processed. For fuzz testing its better to avoid
allocation, so let's avoid allocations completely and use simplest
possible static buffer.
Fixes: #3565
(cherry picked from commit
16377100ae145f2994e6e18f4dfc586403f31ec8)
isc_result_t result;
dns_message_t *message = NULL;
isc_buffer_t b;
- unsigned char buf[65535];
+ static unsigned char buf[65535];
isc_buffer_init(&b, buf, sizeof(buf));