mirror of
https://github.com/MariaDB/server.git
synced 2025-11-08 00:28:29 +03:00
The crash happens because of incorrect max_length calculation in QUOTE function(due to overflow). max_length is set to 0 and it leads to assert failure. The fix is to cast expression result to ulonglong variable and adjust it if the result exceeds MAX_BLOB_WIDTH.
47 KiB
47 KiB