mariadb/mysql-test/suite/perfschema/t
Marc Alff 2e4717ffcd Bug#56761 Segfault on CHECKSUM TABLE performance_schema.EVENTS_WAITS_HISTORY EXTENDED
Before this fix, the server could crash inside a memcpy when reading data
from the EVENTS_WAITS_CURRENT / HISTORY / HISTORY_LONG  tables.

The root cause is that the length used in a memcpy could be corrupted,
when another thread writes data in the wait record being read.
Reading unsafe data is ok, per design choice, and the code does sanitize
the data in general, but did not sanitize the length given to memcpy.

The fix is to also sanitize the schema name / object name / file name
length when extracting the data to produce a row.
2010-09-15 12:20:48 -06:00
..
aggregate.test Bug#55416 Renaming of performance_schema tables for 5.5 2010-08-12 08:08:52 -06:00
bad_option_1.test Bug#53102 perfschema.pfs_upgrade fails on sol10 sparc64 max in parallel mode 2010-07-20 21:15:29 +02:00
bad_option_2.test Bug#53102 perfschema.pfs_upgrade fails on sol10 sparc64 max in parallel mode 2010-07-20 21:15:29 +02:00
bad_option_3.test Bug#55873 short startup options do not work in 5.5 2010-08-25 18:59:28 -06:00
bad_option_4.test Bug#55873 short startup options do not work in 5.5 2010-08-25 18:59:28 -06:00
bad_option_5.test Bug#55873 short startup options do not work in 5.5 2010-08-25 18:59:28 -06:00
binlog_mix.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
binlog_row.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
binlog_stmt.test BUG#50670: Slave stops with error code 1644 2010-04-28 14:47:49 +02:00
checksum.test Bug#56761 Segfault on CHECKSUM TABLE performance_schema.EVENTS_WAITS_HISTORY EXTENDED 2010-09-15 12:20:48 -06:00
cnf_option.cnf WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
cnf_option.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
column_privilege.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
ddl_cond_instances.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
ddl_events_waits_current.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
ddl_events_waits_history.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
ddl_events_waits_history_long.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
ddl_ews_by_instance.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
ddl_ews_by_thread_by_event_name.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
ddl_ews_global_by_event_name.test Bug#55416 Renaming of performance_schema tables for 5.5 2010-08-12 08:08:52 -06:00
ddl_file_instances.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
ddl_fs_by_event_name.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
ddl_fs_by_instance.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
ddl_mutex_instances.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
ddl_performance_timers.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
ddl_rwlock_instances.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
ddl_setup_consumers.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
ddl_setup_instruments.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
ddl_setup_timers.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
ddl_threads.test Bug#55416 Renaming of performance_schema tables for 5.5 2010-08-12 08:08:52 -06:00
disabled.def WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
dml_cond_instances.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
dml_events_waits_current.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
dml_events_waits_history.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
dml_events_waits_history_long.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
dml_ews_by_instance.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
dml_ews_by_thread_by_event_name.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
dml_ews_global_by_event_name.test Bug#55416 Renaming of performance_schema tables for 5.5 2010-08-12 08:08:52 -06:00
dml_file_instances.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
dml_file_summary_by_event_name.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
dml_file_summary_by_instance.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
dml_mutex_instances.test Bug#50596 Spurious test failures in perfschema.dml_mutex_instances 2010-01-25 20:12:20 -07:00
dml_performance_timers.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
dml_rwlock_instances.test Bug#50596 Spurious test failures in perfschema.dml_mutex_instances 2010-01-25 20:12:20 -07:00
dml_setup_consumers.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
dml_setup_instruments.test Fixed merge problem (naming of CRYPTO_dynlock_value::lock in the tests) 2010-01-21 17:57:57 -07:00
dml_setup_timers.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
dml_threads.test Bug#55416 Renaming of performance_schema tables for 5.5 2010-08-12 08:08:52 -06:00
func_file_io.test Bug#55416 Renaming of performance_schema tables for 5.5 2010-08-12 08:08:52 -06:00
func_mutex.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
global_read_lock.test Bug#53102 perfschema.pfs_upgrade fails on sol10 sparc64 max in parallel mode 2010-07-20 21:15:29 +02:00
information_schema.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
misc.test Bug#55416 Renaming of performance_schema tables for 5.5 2010-08-12 08:08:52 -06:00
myisam_file_io.opt WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
myisam_file_io.test Bug#53394 Tests: perfschema.myisam_file_io fails 2010-07-16 08:21:07 -06:00
no_threads-master.opt Post-push fixups for WL#5349 2010-06-22 12:13:47 +02:00
no_threads.test Bug#55416 Renaming of performance_schema tables for 5.5 2010-08-12 08:08:52 -06:00
one_thread_per_con-master.opt WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
one_thread_per_con.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
pfs_upgrade.test Bug#53102 perfschema.pfs_upgrade fails on sol10 sparc64 max in parallel mode 2010-07-20 21:15:29 +02:00
pool_of_threads-master.opt WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
privilege.test Bug#53102 perfschema.pfs_upgrade fails on sol10 sparc64 max in parallel mode 2010-07-20 21:15:29 +02:00
query_cache.test Bug#53102 perfschema.pfs_upgrade fails on sol10 sparc64 max in parallel mode 2010-07-20 21:15:29 +02:00
read_only.test Bug#53102 perfschema.pfs_upgrade fails on sol10 sparc64 max in parallel mode 2010-07-20 21:15:29 +02:00
schema.test Bug#55416 Renaming of performance_schema tables for 5.5 2010-08-12 08:08:52 -06:00
selects-master.opt Bug#53102 perfschema.pfs_upgrade fails on sol10 sparc64 max in parallel mode 2010-07-20 21:15:29 +02:00
selects.test Bug#55416 Renaming of performance_schema tables for 5.5 2010-08-12 08:08:52 -06:00
server_init.test Merge trunk-bugfixing -> trunk-runtime. 2010-07-27 18:32:42 +04:00
short_option_1-master.opt Bug#55873 short startup options do not work in 5.5 2010-08-25 18:59:28 -06:00
short_option_1.test Bug#55873 short startup options do not work in 5.5 2010-08-25 18:59:28 -06:00
short_option_2-master.opt Bug#55873 short startup options do not work in 5.5 2010-08-25 18:59:28 -06:00
short_option_2.test Bug#55873 short startup options do not work in 5.5 2010-08-25 18:59:28 -06:00
start_server_no_cond_class-master.opt WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
start_server_no_cond_class.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
start_server_no_cond_inst-master.opt WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
start_server_no_cond_inst.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
start_server_no_file_class-master.opt WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
start_server_no_file_class.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
start_server_no_file_inst-master.opt WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
start_server_no_file_inst.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
start_server_no_mutex_class-master.opt WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
start_server_no_mutex_class.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
start_server_no_mutex_inst-master.opt WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
start_server_no_mutex_inst.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
start_server_no_rwlock_class-master.opt WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
start_server_no_rwlock_class.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
start_server_no_rwlock_inst-master.opt WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
start_server_no_rwlock_inst.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
start_server_no_thread_class-master.opt WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
start_server_no_thread_class.test Bug#55416 Renaming of performance_schema tables for 5.5 2010-08-12 08:08:52 -06:00
start_server_no_thread_inst-master.opt WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
start_server_no_thread_inst.test Bug#55416 Renaming of performance_schema tables for 5.5 2010-08-12 08:08:52 -06:00
start_server_off-master.opt WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
start_server_off.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
start_server_on-master.opt WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
start_server_on.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
tampered_perfschema_table1-master.opt WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
tampered_perfschema_table1.test WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
thread_cache.test Bug#55416 Renaming of performance_schema tables for 5.5 2010-08-12 08:08:52 -06:00