mirror of
https://github.com/MariaDB/server.git
synced 2025-11-08 00:28:29 +03:00
The val_buffer variable can come to Field_set::val_str() with the Ptr member equal to nullptr. This caused UBSAN errors "applying zero offset to null pointer" in my_strnncollsp_simple() and other strnncollsp() virtual implementations. Fixing the code to make sure its Ptr is not equal to nullptr.
340 KiB
340 KiB