keyfile without any keys crashes mysqld on loading file_key_management plugin

Description

Providing an empty keyfile, or a keyfile that only contains comments but no actual keys, crashes mysqld when loading the file_key_management plugin.

Backtrace:

Environment

linux

Status

Assignee

Sergei Golubchik

Reporter

Hartmut Holzgraefe

Labels

None

External issue ID

None

External issue ID

None

Components

Fix versions

Affects versions

Priority

Critical
Configure