mariadb/storage/perfschema/unittest
Marko Mäkelä 82d7419e06 MDEV-34388: Stack overflow on Alpine Linux
page_is_corrupted(): Do not allocate the buffers from stack,
but from the heap, in xb_fil_cur_open().

row_quiesce_write_cfg(): Issue one type of message when we
fail to create the .cfg file.

update_statistics_for_table(), read_statistics_for_table(),
delete_statistics_for_table(), rename_table_in_stat_tables():
Use a common stack buffer for Index_stat, Column_stat, Table_stat.

ha_connect::FileExists(): Invoke push_warning_printf() so that
we can avoid allocating a buffer for snprintf().

translog_init_with_table(): Do not duplicate TRANSLOG_PAGE_SIZE_BUFF.

Let us also globally enable the GCC 4.4 and clang 3.0 option
-Wframe-larger-than=16384 to reduce the possibility of introducing
such stack overflow in the future.  For RocksDB and Mroonga we relax
these limits.

Reviewed by: Vladislav Lesin
2025-05-20 17:27:05 +03:00
..
CMakeLists.txt MDEV-33091 pcre2 headers aren't found on Solaris 2024-09-05 12:14:06 +10:00
conf.txt Merge branch 'merge-perfschema-5.7' into 10.5 2023-04-28 08:22:17 +02:00
pfs-t.cc Merge branch 'merge-perfschema-5.7' into 10.5 2023-04-28 08:22:17 +02:00
pfs_account-oom-t.cc Merge branch 'merge-perfschema-5.7' into 10.5 2023-04-28 08:22:17 +02:00
pfs_connect_attr-t.cc Merge branch 'merge-perfschema-5.7' into 10.5 2023-04-28 08:22:17 +02:00
pfs_host-oom-t.cc Merge branch 'merge-perfschema-5.7' into 10.5 2023-04-28 08:22:17 +02:00
pfs_instr-oom-t.cc Merge branch 'merge-perfschema-5.7' into 10.5 2023-04-28 08:22:17 +02:00
pfs_instr-t.cc MDEV-34388: Stack overflow on Alpine Linux 2025-05-20 17:27:05 +03:00
pfs_instr_class-oom-t.cc Merge branch 'merge-perfschema-5.7' into 10.5 2023-04-28 08:22:17 +02:00
pfs_instr_class-t.cc perfschema is disabled until it's enabled 2024-04-05 12:40:49 +02:00
pfs_misc-t.cc Merge branch 'merge-perfschema-5.7' into 10.5 2023-04-28 08:22:17 +02:00
pfs_noop-t.cc MDEV-33616 Fix memleak in pfs_noop 2024-05-29 16:49:51 -04:00
pfs_server_stubs.cc Merge branch 'merge-perfschema-5.7' into 10.5 2023-04-28 08:22:17 +02:00
pfs_timer-t.cc Merge branch 'merge-perfschema-5.7' into 10.5 2023-04-28 08:22:17 +02:00
pfs_user-oom-t.cc Merge branch 'merge-perfschema-5.7' into 10.5 2023-04-28 08:22:17 +02:00
stub_global_status_var.h Merge branch 'merge-perfschema-5.7' into 10.5 2023-04-28 08:22:17 +02:00
stub_pfs_defaults.h Merge branch 'merge-perfschema-5.7' into 10.5 2023-04-28 08:22:17 +02:00
stub_pfs_global.h Merge 10.5 into 10.6 2024-10-03 09:31:39 +03:00
stub_print_error.h Merge 10.5 into 10.6 2024-10-03 09:31:39 +03:00