mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +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:
@ -264,6 +264,9 @@ NULL
|
||||
select aes_decrypt(aes_encrypt("","a"),"a");
|
||||
aes_decrypt(aes_encrypt("","a"),"a")
|
||||
|
||||
select aes_decrypt("", "a");
|
||||
aes_decrypt("", "a")
|
||||
NULL
|
||||
select repeat('monty',5),concat('*',space(5),'*');
|
||||
repeat('monty',5) concat('*',space(5),'*')
|
||||
montymontymontymontymonty * *
|
||||
|
Reference in New Issue
Block a user