• Vladislav Vaintroub's avatar
    MDEV-19604 WolfSSL breaks binlog_encryption.binlog_incident · 7d3a759d
    Vladislav Vaintroub authored
    Log_event_writer::encrypt_and_write() can pass NULL pointer as source buffer
    for the encryption. WolfSSL EVP_CipherUpdate(), rightfully rejects this
    as invalid parameter.
    
    Fix  Log_event_writer::encrypt_and_write() and check, with assertion,
    that src parameterm is sane in MyCTX::update()
    7d3a759d
my_crypt.cc 9.53 KB