]> 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:45:36 +0000 (16:45 +0100)
commitb36690e750ea51860e642c1febdfadff84d64786
tree695e2e0a4821930ba4770892deea6ec1e81d767e
parentda2a647ee1c798094e92d0d64261a13bcb6a9974
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