• Vladislav Vaintroub's avatar
    MDEV-19582 WolfSSL decyption function can read memory out-of-bounds. · 88b7926f
    Vladislav Vaintroub authored
    MDEV-19581 Valgrind error with WolfSSL and encrypted binlog
    
    WolfSSL can read  memory out of bounds in EVP_CipherUpdate()
    in decrypt/NOPAD mode, when the input length is not multiple of AES block
    size.
    
    The workaround ensures that input will have some padding at the end
    by having slightly larger allocated buffer, or padding the structures
    with 16 more bytes.
    88b7926f
row0log.cc 113 KB