Commit dae8b785 authored by Max Kellermann's avatar Max Kellermann

output/httpd: copy the Page reference; fixes use-after-free

parent e26d49ef
......@@ -421,7 +421,7 @@ HttpdOutput::SendTag(const Tag &tag)
auto page = ReadPage();
if (page != nullptr) {
header = std::move(page);
header = page;
BroadcastPage(page);
}
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment