This is an automated email from the ASF dual-hosted git repository. zwoop pushed a commit to branch 9.1.x in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 7249341703d20abe078551f7bf00c7a043bb492f Author: Oknet <[email protected]> AuthorDate: Fri Jan 29 07:05:38 2021 +0800 Fix heap use after free in DNSProcessor::getby() (#3871) --- iocore/dns/DNS.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iocore/dns/DNS.cc b/iocore/dns/DNS.cc index 4bd0550..95a913b 100644 --- a/iocore/dns/DNS.cc +++ b/iocore/dns/DNS.cc @@ -1225,7 +1225,7 @@ DNSEntry::mainEvent(int event, Event *e) } else { Debug("dns", "adding first to collapsing queue"); dnsH->entries.enqueue(this); - write_dns(dnsH); + dnsProcessor.thread->schedule_imm(dnsH); } return EVENT_DONE; }
