mirror of
https://github.com/MariaDB/server.git
synced 2025-11-12 10:22:39 +03:00
On exactly-sized Strings, the String::c_ptr() function peeked beyond the end of the buffer, possibly into unititialized space to see whether the buffer was NUL-terminated. In a place that did peek improperly, we now use a c_ptr_safe() function, which doesn't peek where it shouldn't.
10 KiB
10 KiB