mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-11-27 10:34:42 -05:00
MergeKV handed the nested maps of its first input to mergo, which reused them in the result and wrote the later values into them. The theme endpoint passes the package-level theme defaults first, so every request wrote the base and branding theme into those defaults, and concurrent requests crashed the process with "concurrent map writes". MergeKV now merges deep copies of its inputs.