mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 04:17:17 +08:00
This fixes a data race between the main thread and the default event handler thread. The statusline format option value was protected by a mutex, but it was returned as a pointer, allowing one thread to access it while another was modifying it. Avoid the data race by returning format values by value instead of by pointer.
7.9 KiB
7.9 KiB