1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-25178 JSON_TABLE: ASAN use-after-poison in my_fill_8bit Json_table_column::On_response::respond.

table record buffer size was smaller than required when the charset
changes.
This commit is contained in:
Alexey Botchkov
2021-03-22 15:34:27 +04:00
parent 6f56458a76
commit 90c4dff5ab
4 changed files with 28 additions and 11 deletions

View File

@@ -516,5 +516,11 @@ a b
NULL NULL
DROP VIEW v;
#
# MDEV-25178 JSON_TABLE: ASAN use-after-poison in my_fill_8bit / Json_table_column::On_response::respond
#
SELECT * FROM JSON_TABLE('{}', '$' COLUMNS(a CHAR(100) PATH '$' DEFAULT "0" ON ERROR)) AS jt;
a
0
#
# End of 10.6 tests
#