Generated copies of GLSL sources are kept in a std::string and it was always accessed by a long living StringRefNull which lead to potential read from unallocated memory as std::strings are not null terminated. Pull Request: https://projects.blender.org/blender/blender/pulls/117120