mirror of
https://github.com/MariaDB/server.git
synced 2025-11-06 13:10:12 +03:00
The function receives an exactly-sized buffer (not a C NUL-terminated string) and passes it into a printf function to be interpreted with "%s". Instead, create an intermediate String object, and copy the data into it, and pass in a pointer to the String's NUL-terminated buffer.
4.5 KiB
4.5 KiB