mariadb/mysql-test/main/mysqldump-system-incomplete.test
gkodinov 76fc1861ca MDEV-38642: Missing Null terminator in the definition of mysqldump's --system typelib
There was a missing NULL element terminator for --system's type
library definition.

This was causing a crash in find_type_eol when e.g. an incomplete
value was passed to --system where it keeps iterating until it
 finds the NULL as a typelib element.

Fixed by appending a NullS to the definition.
Test case added.
2026-01-23 15:27:56 +01:00

11 lines
257 B
Text

--source include/not_embedded.inc
--echo #
--echo # MDEV-38642 Missing Null terminator in the definition of mysqldump's
--echo # --system typelib
--echo #
--echo # Should not crash
--exec $MYSQL_DUMP --system=user > /dev/null
--echo # End of 10.6 tests