diff options
| author | lawnjelly <lawnjelly@gmail.com> | 2023-11-11 06:56:46 +0000 |
|---|---|---|
| committer | lawnjelly <lawnjelly@gmail.com> | 2023-11-11 06:56:46 +0000 |
| commit | 593cdf00ff201f83b487b731229806e6fb195ec3 (patch) | |
| tree | 1b7627cfbb614f1dd6b40e226c83b26391ecb28b /scene/gui/subviewport_container.cpp | |
| parent | e38686f85b768a451dc06324fe2471adc8665448 (diff) | |
| download | redot-engine-593cdf00ff201f83b487b731229806e6fb195ec3.tar.gz | |
[GLES3] Protect against bogus `glGetShaderInfoLog` return values.
On some buggy drivers `GL_INFO_LOG_LENGTH` returns incorrect values, which may lead to incorrectly filling in the log string. This could lead to uninitialized data being attempted to be printed and a crash.
This PR zeros the array to ensure uninitialized data is not used.
Diffstat (limited to 'scene/gui/subviewport_container.cpp')
0 files changed, 0 insertions, 0 deletions
