udbxtd2008 opened a new issue #7699:
URL: https://github.com/apache/trafficserver/issues/7699
Position of the problem:
write_dns_event DNS.cc line 1140: e->id[dns_retries - e->retries] = i;
1. e->retries was assinged with dns_retries in DNSProcessor::getby.
2. The value of dns_retries is combined with "proxy.config.dns.retries".
3. if "proxy.config.dns.retries" is changed to be a smaller value by
traffic_ctl, for example:
/opt/ats/bin/traffic_ctl config set proxy.config.dns.retries 9 -- > 0.
4. [dns_retries - e->retries] will underflow. The memory before id[] will
be writen by wrong value.
struct DNSEntry : public Continuation {
int id[MAX_DNS_RETRIES];
...
Solution:
Consider assign dns_retries to DNSEntry in DNSProcessor::getby?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]