mirror of
https://github.com/MariaDB/server.git
synced 2025-08-09 22:24:09 +03:00
MDEV-8213: encryption.encryption_force, encryption.encrypt_and_grep fail with valgrind warnings (Invalid read)
Analysis: Problem was that code used old pointer. Fixed by using correct pointer.
This commit is contained in:
@@ -11763,7 +11763,7 @@ ha_innobase::create(
|
||||
&mtr);
|
||||
|
||||
/* Set up new crypt data */
|
||||
fil_space_set_crypt_data(innobase_table->space, crypt_data);
|
||||
crypt_data = fil_space_set_crypt_data(innobase_table->space, crypt_data);
|
||||
|
||||
/* Compute location to store crypt data */
|
||||
byte* frame = buf_block_get_frame(block);
|
||||
|
@@ -12276,7 +12276,7 @@ ha_innobase::create(
|
||||
&mtr);
|
||||
|
||||
/* Set up new crypt data */
|
||||
fil_space_set_crypt_data(innobase_table->space, crypt_data);
|
||||
crypt_data = fil_space_set_crypt_data(innobase_table->space, crypt_data);
|
||||
|
||||
/* Compute location to store crypt data */
|
||||
byte* frame = buf_block_get_frame(block);
|
||||
|
Reference in New Issue
Block a user