Skip to content

Commit d5da3a0

Browse files
oknetzwoop
authored andcommitted
Fix heap use after free in DNSProcessor::getby() (#3871)
(cherry picked from commit e9ea6b0)
1 parent ba199e6 commit d5da3a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iocore/dns/DNS.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1231,7 +1231,7 @@ DNSEntry::mainEvent(int event, Event *e)
12311231
} else {
12321232
Debug("dns", "adding first to collapsing queue");
12331233
dnsH->entries.enqueue(this);
1234-
write_dns(dnsH);
1234+
dnsProcessor.thread->schedule_imm(dnsH);
12351235
}
12361236
return EVENT_DONE;
12371237
}

0 commit comments

Comments
 (0)