]> git.ipfire.org Git - thirdparty/bind9.git/commit
Ensure that named_server_t is properly initialized
authorTony Finch <fanf@isc.org>
Fri, 9 Sep 2022 07:21:10 +0000 (08:21 +0100)
committerTony Finch <fanf@isc.org>
Mon, 12 Sep 2022 09:35:39 +0000 (10:35 +0100)
commit7b71b1020f5c7feaf2c60f80e906583db96c95cb
treeb02bd772b4a512276d9572fd9fd90eaeb368765f
parent37cdd6b51d7cc79581e719443fb012d77c2240b2
Ensure that named_server_t is properly initialized

There was a ubsan error reporting an invalid value for interface_auto
(a boolean value cannot be 190) because it was not initialized. To
avoid this problem happening again, ensure the whole of the server
structure is initialized to zero before setting the (relatively few)
non-zero elements.
CHANGES
bin/named/server.c