mirror of
https://github.com/MariaDB/server.git
synced 2025-11-27 05:41:41 +03:00
Correct the second parameter for strxnmov to prevent potential buffer overflows. The second parameter must be one less than the size of the input buffer to avoid writing past the end of the buffer. While the second parameter is usually correct, there are exceptions that need fixing. This commit addresses the issue within frm_file_exists() and other affected places.
412 KiB
412 KiB