diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2019-05-27 17:41:55 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2019-05-27 17:48:15 +0200 |
commit | 7d3a759d42f92894820b6eeb6a0e798a5a57c464 (patch) | |
tree | 4c165cf1d180a538cf0d1b4ee666b45c9d416110 /vio/viotest.cc | |
parent | d80065c2e41a314389e00c17dfd5f1c0be1e8b38 (diff) | |
download | mariadb-git-7d3a759d42f92894820b6eeb6a0e798a5a57c464.tar.gz |
MDEV-19604 WolfSSL breaks binlog_encryption.binlog_incident
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()
Diffstat (limited to 'vio/viotest.cc')
0 files changed, 0 insertions, 0 deletions