• Marko Mäkelä's avatar
    MDEV-13253 After rebuilding redo logs, InnoDB can leak data from redo log buffer · d861822c
    Marko Mäkelä authored
    recv_reset_logs(): Initialize the redo log buffer, so that no data
    from the old redo log can be written to the new redo log.
    
    This bug has very little impact before MariaDB 10.2. The
    innodb_log_encrypt option that was introduced in MariaDB 10.1
    increases the impact. If the redo log used to be encrypted, and
    it is being resized and encryption disabled, then previously
    encrypted data could end up being written to the new redo log
    in clear text. This resulted in encryption.innodb_encrypt_log
    test failures in MariaDB 10.2.
    d861822c
log0recv.cc 101 KB