When encryption is enabled, when replicating from another server (not MariaDB) and enabling log_slave_updates, server crashes

Description

How to repeat:
1. Enable encryption with the encrypt-binlogs=1
2. Add log_slave_updates and binlog_format=ROW
3. Setup replication with change master to: (not GTID)
= MariaDB crashes

Environment

Tested on Percona XtraDB Cluster node -> MariaDB 10.1.12 (Galera)

Status

Assignee

Unassigned

Reporter

Alexander Rubin

Labels

External issue ID

None

External issue ID

None

Components

Affects versions

Priority

Major
Configure