diff options
author | Nikita Malyavin <nikitamalyavin@gmail.com> | 2020-10-21 02:04:37 +1000 |
---|---|---|
committer | Nikita Malyavin <nikitamalyavin@gmail.com> | 2020-11-02 14:11:43 +1000 |
commit | d9e00770a31892588fe6293a70e81312eaf329a6 (patch) | |
tree | 871c99b16bcb12f9e33043328a34f957277dcbe1 /sql/sql_table.cc | |
parent | afca976885ca03556a4f0b18b3a2b8c91155f779 (diff) | |
download | mariadb-git-d9e00770a31892588fe6293a70e81312eaf329a6.tar.gz |
MDEV-22608 ASAN use-after-poison in TABLE::check_period_overlaps
The bug was fixed by MDEV-22599 bugfix, which changed `Field::cmp` call
to `Field::cmp_prefix` in `TABLE::check_period_overlaps`.
The trick is that `Field_bit::cmp` apparently calls `Field_bit::cmp_key`,
which condiders an argument an actual pointer to data, which isn't correct
for `Field_bit`, since it stores data by `bit_ptr`. which is in the
beginning of the record, and using `ptr` is incorrect (we use it through
`ptr_in_record` call)
Diffstat (limited to 'sql/sql_table.cc')
0 files changed, 0 insertions, 0 deletions