1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-01 08:45:04 +03:00
mariadb/mysql-test/suite/encryption/t/filekeys_tooshort.test
Jan Lindström 4e2a0c34b0 MDEV-10888: encryption.filekeys_emptyfile fails in buildbot with valgrind
Problem was that length of the filekeys file was not checked and if
length is less than OpenSSL_prefix_len uninitialized memory was
accessed.
2016-09-27 07:54:27 +03:00

5 lines
176 B
Plaintext

let SEARCH_PATTERN=Cannot decrypt .*tooshort.enc. Not encrypted;
source filekeys_badtest.inc;
--echo # Test checks if opening an too short filekeys does not crash the server.