mariadb/extra
Thirunarayanan Balathandayuthapani 360d8ffc74 MDEV-37520 Failure to detect corruption during backups of Aria table
Problem
=======
- Mariabackup tool silently produce corrupted backups of
Aria tables. Identified three issues that prevents proper
detection of page corruption:

aria_read_data(), aria_read_index() does incorrect
CRC validation after doing CRC check, allows corrupted
pages to pass undetected.

aria_read_data(), aria_read_index() couldn't handle
zero filled pages. Based on the size of
aria_pagecache_buffer_size, pages could be
in cache when backup tries to read the data from file

maria_page_crc_check(): Prevents correctly identifying
and skipping zero-filled pages.

Solution:
========
This commit resolves these critical issues to ensure
the integrity of Aria table backups.

Corrected CRC check: Updated the code in aria_read_data() to
correctly check the return value from maria_page_crc_check(),
so any CRC mismatch will now properly fail the backup and
prevent corruption.

Improved zero-page handling: The aria_read_data() and
aria_read_index() functions are now robust enough to tolerate
and correctly process zero-filled pages.

The flawed conditional check in maria_page_crc_check() has
been corrected to reliably identify zero-filled pages.
2025-08-28 16:54:19 +05:30
..
aws_sdk MDEV-30831 Cannot compile AWS KMS Plugin 2025-06-10 15:18:28 +02:00
mariabackup MDEV-37520 Failure to detect corruption during backups of Aria table 2025-08-28 16:54:19 +05:30
readline Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
wolfssl Merge branch '11.4' into 11.8 2025-07-28 21:29:29 +02:00
charset2html.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
CMakeLists.txt Merge branch '10.11' into 11.4 2025-06-17 09:50:22 +02:00
comp_err.c Update errmsg-utf8.txt re my_snprintf suffixes 2025-02-12 10:17:44 +01:00
innochecksum.cc Fix typos in C comments in miscellaneous files 2025-03-24 13:36:28 +11:00
my_print_defaults.c Merge 10.11 into 11.4 2024-12-02 11:35:34 +02:00
mysql_waitpid.c MDEV-29582 post-review fixes 2023-02-10 10:45:25 +01:00
mysqld_safe_helper.c mysqld_safe_help - remove warning 2017-04-30 15:06:01 +04:00
perror.c Fix typos in C comments in miscellaneous files 2025-03-24 13:36:28 +11:00
replace.c Fix remaining typos 2025-04-29 11:18:00 +10:00
resolve_stack_dump.c unify client/tool version string 2023-01-19 12:39:28 +01:00
resolveip.c unify client/tool version string 2023-01-19 12:39:28 +01:00