From a9e0d2779e16bfd33292accfd3e417713381bd5c Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 11 May 2006 14:13:14 +0200 Subject: Bug#15328 Segmentation fault occured if my.cnf is invalid for escape sequence - Check that length of value is longer than 1 before decrementing length by 2. - Backport from 5.0, make it possible to use my_print_defaults in tests mysql-test/mysql-test-run.pl: Backport from 5.0, make it possible to use my_print_defaults from tests mysql-test/mysql-test-run.sh: Backport from 5.0, make it possible to use my_print_defaults from tests mysql-test/r/mysqldump.result: Update result mysql-test/t/mysqldump.test: Test that my_print default don't segfault when encountering an option without closing " mysys/default.c: Check that length of value is longer than 1 before deciding to decrement its length by 2. mysql-test/std_data/bug15328.cnf: New BitKeeper file ``mysql-test/std_data/bug15328.cnf'' --- mysql-test/std_data/bug15328.cnf | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 mysql-test/std_data/bug15328.cnf (limited to 'mysql-test/std_data/bug15328.cnf') diff --git a/mysql-test/std_data/bug15328.cnf b/mysql-test/std_data/bug15328.cnf new file mode 100644 index 00000000000..e23d33bfa54 --- /dev/null +++ b/mysql-test/std_data/bug15328.cnf @@ -0,0 +1,2 @@ +[mysqldump] +fields-optionally-enclosed-by=" -- cgit v1.2.1