Skip to content

Ensure that named_server_t is properly initialized

Tony Finch requested to merge 3531-initialize-struct-server-v9_18 into v9_18

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.

Closes #3531 (closed)

Merge request reports