mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 21:40:03 +00:00
8068d0153f
CanOptimizeCallback::isReservedName function may be executed by multiple threads simultaneously. One of them creates a static but both of them run if statement and see it's empty because none of them added elements there yet. Both of them go to the branch where new elements are added doing it without any synchronization possibly causing SIGSEGV.