1
0
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:
Jan Lindström
2015-05-26 16:09:36 +03:00
parent 5bd25a9c53
commit 8c0ea281bf
2 changed files with 2 additions and 2 deletions

View File

@@ -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);

View File

@@ -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);