mariadb/storage/perfschema
Marc Alff 6272025ad4 Bug#58003 Segfault on CHECKSUM TABLE performance_schema.EVENTS_WAITS_HISTORY_LONG EXTENDED
This fix is a follow up on the fix for similar issue 56761.

When sanitizing data read from the events_waits_history_long table,
the code needs also to sanitize the schema_name / object_name / file_name pointers,
because such pointers could also hold invalid values.
Checking the string length alone was required but not sufficient.

This fix verifies that:
- the table schema and table name used in table io events
- the file name used in file io events
are valid pointers before dereferencing these pointers.
2010-11-11 12:34:46 +01:00
..
unittest Fixed Copyright headers in storage/perfschema 2010-07-15 17:44:45 -06:00
CMakeLists.txt Bug#55416 Renaming of performance_schema tables for 5.5 2010-08-12 08:08:52 -06:00
ha_perfschema.cc Bug#49938: Failing assertion: inode or deadlock in fsp/fsp0fsp.c 2010-10-06 11:34:28 -03:00
ha_perfschema.h Bug#49938: Failing assertion: inode or deadlock in fsp/fsp0fsp.c 2010-10-06 11:34:28 -03:00
Makefile.am Bug#55416 Renaming of performance_schema tables for 5.5 2010-08-12 08:08:52 -06:00
pfs.cc Bug# 53874 "SETUP_INSTRUMENTS.TIMED='NO' should not change TIMER_WAIT 2010-08-26 10:45:25 -05:00
pfs.h Fixed Copyright headers in storage/perfschema 2010-07-15 17:44:45 -06:00
pfs_atomic.cc Fixed Copyright headers in storage/perfschema 2010-07-15 17:44:45 -06:00
pfs_atomic.h Fixed Copyright headers in storage/perfschema 2010-07-15 17:44:45 -06:00
pfs_check.cc Fixed Copyright headers in storage/perfschema 2010-07-15 17:44:45 -06:00
pfs_column_types.h Fixed Copyright headers in storage/perfschema 2010-07-15 17:44:45 -06:00
pfs_column_values.cc Fixed Copyright headers in storage/perfschema 2010-07-15 17:44:45 -06:00
pfs_column_values.h Fixed Copyright headers in storage/perfschema 2010-07-15 17:44:45 -06:00
pfs_engine_table.cc Bug#50557 checksum table crashes server when used in performance_schema 2010-09-17 13:03:09 -06:00
pfs_engine_table.h Bug#53148 Remove PFS_readonly_table 2010-07-15 18:06:33 -06:00
pfs_events_waits.cc Bug#55462 Performance schema: reduce the overhead of PFS_events_waits::m_wait_class 2010-08-12 03:51:58 -06:00
pfs_events_waits.h Bug#55462 Performance schema: reduce the overhead of PFS_events_waits::m_wait_class 2010-08-12 03:51:58 -06:00
pfs_global.cc Bug#53566 SHOW ENGINE PERFORMANCE_SCHEMA STATUS reports less memory than really used 2010-07-15 18:28:52 -06:00
pfs_global.h Bug#58003 Segfault on CHECKSUM TABLE performance_schema.EVENTS_WAITS_HISTORY_LONG EXTENDED 2010-11-11 12:34:46 +01:00
pfs_instr.cc Bug#58003 Segfault on CHECKSUM TABLE performance_schema.EVENTS_WAITS_HISTORY_LONG EXTENDED 2010-11-11 12:34:46 +01:00
pfs_instr.h Bug#58003 Segfault on CHECKSUM TABLE performance_schema.EVENTS_WAITS_HISTORY_LONG EXTENDED 2010-11-11 12:34:46 +01:00
pfs_instr_class.cc Bug#58003 Segfault on CHECKSUM TABLE performance_schema.EVENTS_WAITS_HISTORY_LONG EXTENDED 2010-11-11 12:34:46 +01:00
pfs_instr_class.h Bug#58003 Segfault on CHECKSUM TABLE performance_schema.EVENTS_WAITS_HISTORY_LONG EXTENDED 2010-11-11 12:34:46 +01:00
pfs_lock.h Fixed Copyright headers in storage/perfschema 2010-07-15 17:44:45 -06:00
pfs_server.cc Fixed Copyright headers in storage/perfschema 2010-07-15 17:44:45 -06:00
pfs_server.h Bug#55576 Two perfschema tests failed on mysql-next-mr-innodb PB2 tests 2010-08-24 18:21:43 -06:00
pfs_stat.h Bug# 53874 "SETUP_INSTRUMENTS.TIMED='NO' should not change TIMER_WAIT 2010-08-26 10:45:25 -05:00
pfs_timer.cc Fixed Copyright headers in storage/perfschema 2010-07-15 17:44:45 -06:00
pfs_timer.h Fixed Copyright headers in storage/perfschema 2010-07-15 17:44:45 -06:00
plug.in Fixed Copyright headers in storage/perfschema 2010-07-15 17:44:45 -06:00
table_all_instr.cc Bug#53148 Remove PFS_readonly_table 2010-07-15 18:06:33 -06:00
table_all_instr.h Bug#53148 Remove PFS_readonly_table 2010-07-15 18:06:33 -06:00
table_events_waits.cc Bug#58003 Segfault on CHECKSUM TABLE performance_schema.EVENTS_WAITS_HISTORY_LONG EXTENDED 2010-11-11 12:34:46 +01:00
table_events_waits.h Bug#56761 Segfault on CHECKSUM TABLE performance_schema.EVENTS_WAITS_HISTORY EXTENDED 2010-09-15 12:20:48 -06:00
table_events_waits_summary.cc Bug#57609 performance_schema does not work with lower_case_table_names 2010-11-03 16:42:33 +01:00
table_events_waits_summary.h Bug#55416 Renaming of performance_schema tables for 5.5 2010-08-12 08:08:52 -06:00
table_ews_global_by_event_name.cc Bug#57609 performance_schema does not work with lower_case_table_names 2010-11-03 16:42:33 +01:00
table_ews_global_by_event_name.h Bug#55416 Renaming of performance_schema tables for 5.5 2010-08-12 08:08:52 -06:00
table_file_instances.cc Bug#57609 performance_schema does not work with lower_case_table_names 2010-11-03 16:42:33 +01:00
table_file_instances.h Bug#53148 Remove PFS_readonly_table 2010-07-15 18:06:33 -06:00
table_file_summary.cc Bug#57609 performance_schema does not work with lower_case_table_names 2010-11-03 16:42:33 +01:00
table_file_summary.h Bug#53148 Remove PFS_readonly_table 2010-07-15 18:06:33 -06:00
table_performance_timers.cc Bug#57609 performance_schema does not work with lower_case_table_names 2010-11-03 16:42:33 +01:00
table_performance_timers.h Bug#53148 Remove PFS_readonly_table 2010-07-15 18:06:33 -06:00
table_setup_consumers.cc Bug#57609 performance_schema does not work with lower_case_table_names 2010-11-03 16:42:33 +01:00
table_setup_consumers.h Fixed Copyright headers in storage/perfschema 2010-07-15 17:44:45 -06:00
table_setup_instruments.cc Bug#57609 performance_schema does not work with lower_case_table_names 2010-11-03 16:42:33 +01:00
table_setup_instruments.h Fixed Copyright headers in storage/perfschema 2010-07-15 17:44:45 -06:00
table_setup_timers.cc Bug#57609 performance_schema does not work with lower_case_table_names 2010-11-03 16:42:33 +01:00
table_setup_timers.h Fixed Copyright headers in storage/perfschema 2010-07-15 17:44:45 -06:00
table_sync_instances.cc Bug#57609 performance_schema does not work with lower_case_table_names 2010-11-03 16:42:33 +01:00
table_sync_instances.h Bug#53148 Remove PFS_readonly_table 2010-07-15 18:06:33 -06:00
table_threads.cc Bug#57609 performance_schema does not work with lower_case_table_names 2010-11-03 16:42:33 +01:00
table_threads.h Bug#57154 Rename THREADS.ID to THREADS.PROCESSLIST_ID in 5.5 2010-10-06 18:03:27 -06:00