mirror of
https://github.com/systemd/systemd.git
synced 2025-02-09 13:57:42 +03:00
resolve: really always initialize aux
dns_transaction_request_dnssec_rr was already adjusted in 400171036592, to allow for the return parameter to be passed uninitialized. However this codepath was missed, meaning this function could sometimes return success without having actually set the parameter. Fixes: 400171036592 ("resolved: minor dnssec fixups") Fixes: 47690634f157 ("resolved: don't request the SOA for every dns label")
This commit is contained in:
parent
d4dae4c243
commit
73f77f38cf
@ -2347,9 +2347,9 @@ static int dns_transaction_request_dnssec_rr_full(DnsTransaction *t, DnsResource
|
||||
r = dns_transaction_go(aux);
|
||||
if (r < 0)
|
||||
return r;
|
||||
if (ret)
|
||||
*ret = aux;
|
||||
}
|
||||
if (ret)
|
||||
*ret = aux;
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user