[PATCH 5/5] dnsapi/tests: Add a query test.

Dmitry Timoshkov dmitry at baikal.ru
Tue Mar 30 06:04:47 CDT 2021


Hans Leidekker <hans at codeweavers.com> wrote:

> +    rec = NULL;
> +    status = DnsQuery_W(L"winehq.org", DNS_TYPE_A, DNS_QUERY_STANDARD, NULL, &rec, NULL);
> +    ok(status == ERROR_SUCCESS, "DnsQuery_W(%s) => %d\n", wine_dbgstr_w(name), status);
> +    DnsRecordListFree(rec, DnsFreeRecordList);

You probably already noticed (from the testbot) that error message prints
a not initialized buffer 'name'.

-- 
Dmitry.



More information about the wine-devel mailing list