mariadb/storage/innobase/row
Daniel Black 107d1ef2c0 MDEV-37033 UBSAN: row_log_table_apply_ops runtime error: applying non-zero offset 1048576 to null pointer
In a UBSAN debug build, the comparisons with next_mrec_end are made
with index->online_log's head/tail members' block ptr with a sort buffer
size offset (1048576).

The logic that flows though to this point means that even srv_sort_buf_size
above a null pointer wouldn't contain the value of next_mrec_end.

As such this is a UBSAN type fix where we first check if the
head.block / tail.block is null before doing the asserts around
this debug condition. This would be required for the assertions
conditions not to segfault anyway.
2025-06-23 17:25:45 +10:00
..
row0ext.cc Merge 10.3 into 10.4 2020-07-02 07:39:33 +03:00
row0ftsort.cc Merge branch '10.6' into 10.11 2023-12-18 11:19:04 +01:00
row0import.cc MDEV-35169 ALTER TABLE...IMPORT TABLESPACE does not work with INDEX DESC 2025-01-28 11:56:35 +05:30
row0ins.cc MDEV-36504 Memory leak after CREATE TABLE..SELECT 2025-04-17 12:04:09 +05:30
row0log.cc MDEV-37033 UBSAN: row_log_table_apply_ops runtime error: applying non-zero offset 1048576 to null pointer 2025-06-23 17:25:45 +10:00
row0merge.cc MDEV-36017 Alter table aborts when temporary directory is full 2025-05-26 10:12:14 +05:30
row0mysql.cc MDEV-36017 Alter table aborts when temporary directory is full 2025-05-26 10:12:14 +05:30
row0purge.cc MDEV-35000 preparation: Clean up dict_table_t::stat 2025-02-28 08:55:16 +02:00
row0quiesce.cc Merge 10.6 into 10.11 2025-05-21 07:36:35 +03:00
row0row.cc Merge branch '10.5' into 10.6 2024-10-29 14:20:03 +01:00
row0sel.cc Merge 10.6 into 10.11 2025-02-25 10:23:24 +02:00
row0uins.cc MDEV-35000: dict_table_close() breaks STATS_AUTO_RECALC 2025-02-28 09:00:16 +02:00
row0umod.cc MDEV-36017 Alter table aborts when temporary directory is full 2025-05-26 10:12:14 +05:30
row0undo.cc MDEV-32175: Reduce page_align(), page_offset() calls 2024-11-21 11:01:30 +02:00
row0upd.cc MDEV-36017 Alter table aborts when temporary directory is full 2025-05-26 10:12:14 +05:30
row0vers.cc Merge 10.6 into 10.11 2024-11-29 13:43:17 +02:00