mirror of
https://github.com/MariaDB/server.git
synced 2026-10-23 18:49:29 +03:00
Event_job_data::execute() pointed thd->security_ctx at a local Security_context. A concurrent PROCESSLIST scan captures that pointer without a lock and can read it after execute() returns. Make the Security_context a member of Event_job_data, which lives in Event_worker_thread::run() until after thd is deleted. Add main.events_debug test
352 KiB
352 KiB