]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix stack-use-after-scope in dns_message_checksig test
authorOndřej Surý <ondrej@isc.org>
Tue, 27 Sep 2022 11:00:09 +0000 (13:00 +0200)
committerPetr Špaček <pspacek@isc.org>
Tue, 27 Sep 2022 11:06:01 +0000 (13:06 +0200)
commit16377100ae145f2994e6e18f4dfc586403f31ec8
tree03a771f6f8eaa00cf2f40111c2f4f65a22538243
parent4108d79c9a3bc7a617d7ca24adc1180043ee9919
Fix stack-use-after-scope in dns_message_checksig test

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
fuzz/dns_message_checksig.c