mirror of
https://github.com/MariaDB/server.git
synced 2025-12-09 08:01:34 +03:00
Role names with trailing whitespaces are truncated in length as of
956e92d908 to fix MDEV-8609. The problem
is that the code that creates role mappings expects the string to be null
terminated.
Add the null terminator to account for that as well. In the future
the rest of the code can be cleaned up to never assume c style strings
but only LEX_STRINGS.
2.5 KiB
2.5 KiB