I’m using the shaderc library to compile glsl to SPIRV, and when I call shaderc_compile_into_spv() I get (I’m including an image for better depiction):
This has always worked before, for years while changing code and tweaking stuff, and now I’m using address sanitizer in Visual Studio for the first time, and now I get this error. I checked the source code string being compiled is null-terminated and everything else. Surely this is a false positive, right?
I found this link enter link description here talking about container-overflow false positive. This is related to ASan, which I don’t know if Visual Studio uses.