mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

Shallow copy of user handlers leads to a nil map assignment when enabling pprof. Since the map is being modified, it should probably be deep copied into the server context, which fixes the crash.