diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-01-06 22:01:05 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-01-10 18:10:11 +0100 |
commit | 41398e87930902d62a3f6d11e4ff8b4af54fc69e (patch) | |
tree | 3701086ae291e56acb5f64d3287691a9e0810bbf /rules.d/60-persistent-storage-tape.rules | |
parent | resolve: drop DNS_TRANSACTION_UPSTREAM_DNSSEC_FAILURE (diff) | |
download | systemd-41398e87930902d62a3f6d11e4ff8b4af54fc69e.tar.xz systemd-41398e87930902d62a3f6d11e4ff8b4af54fc69e.zip |
resolve: several follow-ups for 9ca133e97a0c8795b1f293ccea4965b4ad1accc4.
- add missing initialization for DnsQuery.answer_ede_rcode,
- clear EDE code and message in dns_transaction_reset_answer(),
otherwise the previous EDE code or message may be mistakenly reused
on restart. This fixes memory leak of DnsTransaction.answer_ede_msg.
- also clear EDE code and message in dns_query_reset_answer(),
otherwise ede message is leaked if dns_query_accept() is called
multiple times for the same DnsQuery.
Follow-up for 9ca133e97a0c8795b1f293ccea4965b4ad1accc4.
Fixes #30752.
Diffstat (limited to 'rules.d/60-persistent-storage-tape.rules')
0 files changed, 0 insertions, 0 deletions