mirror of
https://github.com/MariaDB/server.git
synced 2025-11-10 23:02:54 +03:00
Problem: one thread could read uninitialized memory from (the stack of) another thread. Fix: swapped order of initializing the memory and making it available to the other thread. Fix: put lock around the statement that makes the memory available to the other thread. Fix: all fields of the struct are now initialized in the constructor, to avoid future problems.
46 KiB
46 KiB