]> git.ipfire.org Git - thirdparty/pdns.git/commit
Appease clang++ 12 asan on MacOS 9925/head
authorOtto Moerbeek <otto@drijf.net>
Fri, 8 Jan 2021 12:51:19 +0000 (13:51 +0100)
committerOtto Moerbeek <otto@drijf.net>
Fri, 8 Jan 2021 13:01:13 +0000 (14:01 +0100)
commit7b2e42754b4611c5a3111c8f1ef7e59ad181187c
treef9910cc323b40e6c5a0f3963825e75d41ccc4b4f
parenteaac30bd99f018a895ce3429c354fb839d3ab439
Appease clang++ 12 asan on MacOS

MacOS clang++ 12 with asan does not like to access a vector of bytes
outside it's begin()..end(), even thouh we assured there is capacity.
So make sure the size is set before groping inside the vector.
pdns/test-dnscrypt_cc.cc