We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f8f852 commit ee57946Copy full SHA for ee57946
1 file changed
Library/Raisr_OpenCL.cpp
@@ -133,6 +133,7 @@ static RNLERRORTYPE buildProgram(RaisrOpenCLContext *raisrOpenCLContext,
133
ret = RNLErrorBadParameter;
134
goto fail;
135
}
136
+ filterShader[programSize] = '\0'; // Ensure null termination after reading
137
fclose(programHandle);
138
programHandle = NULL;
139
} else
0 commit comments