diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2018-12-14 15:44:51 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2018-12-14 15:44:51 +0200 |
commit | fb252f70c17c0ade38082ca5db198dca68b810ed (patch) | |
tree | d42609eb6d352332b0f2124c0b8a52af9e69b2bb /extra/mariabackup/xtrabackup.h | |
parent | 621041b67698b040080b33928883336967687e1e (diff) | |
download | mariadb-git-fb252f70c17c0ade38082ca5db198dca68b810ed.tar.gz |
MDEV-12112 corruption in encrypted table may be overlooked
After validating the post-encryption checksum on an encrypted page,
Mariabackup should decrypt the page and validate the pre-encryption
checksum as well. This should reduce the probability of accepting
invalid pages as valid ones.
This is a backport and refactoring of a patch that was
originally written by Thirunarayanan Balathandayuthapani
for the 10.2 branch.
Diffstat (limited to 'extra/mariabackup/xtrabackup.h')
-rw-r--r-- | extra/mariabackup/xtrabackup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/mariabackup/xtrabackup.h b/extra/mariabackup/xtrabackup.h index 3b2a25d451b..9af7c861dd7 100644 --- a/extra/mariabackup/xtrabackup.h +++ b/extra/mariabackup/xtrabackup.h @@ -184,7 +184,7 @@ void xb_data_files_close(void); /*********************************************************************** Reads the space flags from a given data file and returns the compressed page size, or 0 if the space is not compressed. */ -ulint xb_get_zip_size(pfs_os_file_t file); +ulint xb_get_zip_size(fil_node_t* file); /************************************************************************ Checks if a table specified as a name in the form "database/name" (InnoDB 5.6) |