]> git.ipfire.org Git - thirdparty/bind9.git/commit
Initialize checknames field in dns_view_create()
authorMichal Nowak <mnowak@isc.org>
Mon, 22 Feb 2021 12:50:11 +0000 (13:50 +0100)
committerMichal Nowak <mnowak@isc.org>
Tue, 23 Feb 2021 15:48:10 +0000 (16:48 +0100)
commitb9ef330fbeb6077c0a2e0c83e91940b73de55ad3
tree7b5d748da9347b93091146f553628fda608d7b52
parentaa4d0ab62d51eafd9e8933e892c89769c2ec7f7b
Initialize checknames field in dns_view_create()

The 'checknames' field wasn't initialized in dns_view_create(), but it
should otherwise AddressSanitizer identifies the following runtime error
in query_test.c.

    runtime error: load of value 190, which is not a valid value for type '_Bool'

(cherry picked from commit 0c6fa16477075ef0bcac46c9952ac771740e56d7)
lib/dns/view.c