Verified Commit c75484c4 authored by Michal Nowak's avatar Michal Nowak
Browse files

Initialize checknames field in query_test.c

'checknames' field of struct dns_view is not initialized by
dns_view_create(). ASAN identified this as runtime error:

    runtime error: load of value 190, which is not a valid value for type '_Bool'
parent da216509
Pipeline #64268 passed with stages
in 18 minutes and 46 seconds
......@@ -1412,6 +1412,7 @@ run_hookasync_e2e_test(const ns__query_hookasync_e2e_test_params_t *test) {
qctx->client->sendcb = send_noop;
/* Load a zone. it should have */
qctx->client->view->checknames = true;
result = ns_test_serve_zone("foo", "testdata/query/foo.db",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment