lp:910817: Race condition in kill_threads_for_user()
The code was accessing a pointer in a mem_root that might be freed by another concurrent thread. Fix by moving the access to be done while the LOCK_thd_data is held, preventing the memory from being freed too early.
Showing
Please register or sign in to comment