mariadb/storage/innobase
Marko Mäkelä b8c8692fd9 MDEV-24620 ASAN heap-buffer-overflow in btr_pcur_restore_position()
Between btr_pcur_store_position() and btr_pcur_restore_position()
it is possible that purge empties a table and enlarges
index->n_core_fields and index->n_core_null_bytes.
Therefore, we must cache index->n_core_fields in
btr_pcur_t::old_n_core_fields so that btr_pcur_t::old_rec can be
parsed correctly.

Unfortunately, this is a huge change, because we will replace
"bool leaf" parameters with "ulint n_core"
(passing index->n_core_fields, or 0 for non-leaf pages).
For special cases where we know that index->is_instant() cannot hold,
we may also pass index->n_fields.
2021-04-13 10:28:13 +03:00
..
btr MDEV-24620 ASAN heap-buffer-overflow in btr_pcur_restore_position() 2021-04-13 10:28:13 +03:00
buf Merge 10.2 into 10.3 2021-04-09 14:32:06 +03:00
data MDEV-23644 Assertion on evaluating foreign referential action for self-reference in system versioned table 2020-12-22 03:33:53 +03:00
dict MDEV-24620 ASAN heap-buffer-overflow in btr_pcur_restore_position() 2021-04-13 10:28:13 +03:00
eval Merge 10.2 into 10.3 2019-12-12 14:41:51 +02:00
fil Merge 10.2 into 10.3 2021-03-18 12:34:48 +02:00
fsp Merge 10.2 into 10.3 2020-09-09 13:06:46 +03:00
fts MDEV-24620 ASAN heap-buffer-overflow in btr_pcur_restore_position() 2021-04-13 10:28:13 +03:00
fut Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
gis MDEV-24620 ASAN heap-buffer-overflow in btr_pcur_restore_position() 2021-04-13 10:28:13 +03:00
ha Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
handler Merge 10.2 into 10.3 2021-04-13 10:26:01 +03:00
ibuf MDEV-24620 ASAN heap-buffer-overflow in btr_pcur_restore_position() 2021-04-13 10:28:13 +03:00
include MDEV-24620 ASAN heap-buffer-overflow in btr_pcur_restore_position() 2021-04-13 10:28:13 +03:00
lock MDEV-24620 ASAN heap-buffer-overflow in btr_pcur_restore_position() 2021-04-13 10:28:13 +03:00
log Merge 10.2 into 10.3 2021-02-23 10:56:00 +02:00
mach Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
mem Merge 10.2 into 10.3 2020-07-02 06:17:51 +03:00
mtr Merge 10.2 into 10.3 2020-12-01 14:55:46 +02:00
mysql-test/storage_engine Fix for MDEV-17449, typo in error message (#1146) 2019-03-24 21:24:28 +04:00
os Merge 10.2 into 10.3 2021-03-18 12:34:48 +02:00
page MDEV-24620 ASAN heap-buffer-overflow in btr_pcur_restore_position() 2021-04-13 10:28:13 +03:00
pars Merge 10.2 into 10.3 2019-12-12 14:41:51 +02:00
que Merge 10.2 into 10.3 (except MDEV-17556) 2021-01-11 09:41:54 +02:00
read MVCC::view_close(): Correct comments 2019-09-04 09:42:38 +03:00
rem MDEV-24620 ASAN heap-buffer-overflow in btr_pcur_restore_position() 2021-04-13 10:28:13 +03:00
row MDEV-24620 ASAN heap-buffer-overflow in btr_pcur_restore_position() 2021-04-13 10:28:13 +03:00
srv Merge 10.2 into 10.3 2021-04-09 14:32:06 +03:00
sync MDEV-24188: Merge 10.2 into 10.3 2020-11-13 20:41:48 +02:00
trx MDEV-24620 ASAN heap-buffer-overflow in btr_pcur_restore_position() 2021-04-13 10:28:13 +03:00
ut MDEV-24620 ASAN heap-buffer-overflow in btr_pcur_restore_position() 2021-04-13 10:28:13 +03:00
.clang-format-old switch off storage/innobase/.clang-format: InnoDB uses a common formatting style for all new code 2021-03-17 11:01:15 +03:00
bzip2.cmake Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
CMakeLists.txt Merge 10.2 into 10.3 2020-10-28 10:01:50 +02:00
compile-innodb Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
COPYING.Google
COPYING.Percona
innodb.cmake Merge 10.2 into 10.3 2019-12-27 15:14:48 +02:00
lz4.cmake Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
lzma.cmake Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
lzo.cmake Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
plugin_exports
snappy.cmake Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00