1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-05 01:43:31 +03:00

MDEV-7772: SIGSEGV on my_aes_encrypt_cbc when -DWITH_SSL=bundled

Two problems:
- Read/Write outside of buffer at memcpy() because of incorrect parameters
. OPENSSL_assert(EVP_CIPHER_CTX_iv_length(&ctx.ctx) == iv_length); // ECB does not use IV, thus incorrect assertion

Added:
  mysql-test/include/encryption_algorithms.combinations to run tests with methods cbc, ecb and ctr in
  those systems where they are available (see suite.pm).
This commit is contained in:
Jan Lindström
2015-03-13 14:18:07 +02:00
parent 5e6f12366a
commit a3e68b4a55
13 changed files with 35 additions and 24 deletions

View File

@@ -0,0 +1,3 @@
#
# See suite.pm for the actual check
#