Re: [Maria-developers] 489a7fba324: MDEV-29322 ASAN heap-use-after-free in Query_log_event::do_apply_event

2022-09-04 Thread Kristian Nielsen
Kristian Nielsen writes: > BTW, the testcase only fails sporadically (without the fix), becase it > depends on whether the SQL thread has had time to read ahead to a new FD > when the CREATE TABLE t1 runs in the worker thread. There's a wait in the > testcase which seems to be intended to ensure

Re: [Maria-developers] 489a7fba324: MDEV-29322 ASAN heap-use-after-free in Query_log_event::do_apply_event

2022-09-04 Thread Kristian Nielsen
Hi Sergei, Andrei, The commit message had me confused at first - because there are mechanisms in parallel replication to ensure that things stay alive as long as needed; and because if description_event_for_exec points to invalid (freed) memory, then it would seem to indicate a deeper problem