1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

MDEV-8281 aes_decrypt crashes in block_crypt()

fix aes_decrypt of yassl to support zero-length input
This commit is contained in:
Sergei Golubchik
2015-06-19 18:05:10 +02:00
parent e20be69ecc
commit e7620ce4ce
3 changed files with 5 additions and 1 deletions

View File

@@ -105,6 +105,7 @@ select aes_decrypt(NULL,"a");
select aes_decrypt("a",NULL);
select aes_decrypt("a","a");
select aes_decrypt(aes_encrypt("","a"),"a");
select aes_decrypt("", "a");
select repeat('monty',5),concat('*',space(5),'*');
select reverse('abc'),reverse('abcd');
select rpad('a',4,'1'),rpad('a',4,'12'),rpad('abcd',3,'12'), rpad(11, 10 , 22), rpad("ab", 10, 22);