You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Issue with corrupted DNS records when converted back to a buffer in callback (ares_send) #757
When using the API of ares_send the internal process of converting a ares_dns_record_t back to a buffer using ares_dns_write may occasionally corrupt the record. I've located the issue to the ares_dns_write_rr function. The problem occurres when allow_compress is true.
As an example, the following command ./bin/adig -t MX fip.it should return
fip.it. 5709 IN MX 10 libra2.fip.it.
fip.it. 5709 IN MX 10 libra1.fip.it.
Activity
dns name compression write failure
dns name compression write failure
bradh352 commentedon May 15, 2024
thanks for the report, a fix has been committed for this issue
eriklax commentedon May 15, 2024
Thanks, would this justify a patch release for 1.28 or how far out is 1.29?
bradh352 commentedon May 15, 2024
yes it definitely would. I'll work with @bagder about getting a new release out the door. Its about time for 1.29 anyhow.
dns name compression write failure
dns name compression write failure
dns name compression write failure
dns name compression write failure
dns name compression write failure
dns name compression write failure
dns name compression write failure
dns name compression write failure
dns name compression write failure
dns name compression write failure
dns name compression write failure