3c69377f10
While adding more debug checks to legacy renderer, I closed 2 types of vulnerabilities: * TYPE_PRIMITIVE would previously read from uninitialized data if only specifying a single color * Other legacy draw operations would fail in debug AFTER accessing out of bounds memory rather than before Many calls to glBufferSubData are wrapped in a safe version which checks for out of bounds and exits the draw function if this is detected. |
||
---|---|---|
.. | ||
shaders | ||
rasterizer_canvas_base_gles2.cpp | ||
rasterizer_canvas_base_gles2.h | ||
rasterizer_canvas_gles2.cpp | ||
rasterizer_canvas_gles2.h | ||
rasterizer_gles2.cpp | ||
rasterizer_gles2.h | ||
rasterizer_scene_gles2.cpp | ||
rasterizer_scene_gles2.h | ||
rasterizer_storage_gles2.cpp | ||
rasterizer_storage_gles2.h | ||
SCsub | ||
shader_compiler_gles2.cpp | ||
shader_compiler_gles2.h | ||
shader_gles2.cpp | ||
shader_gles2.h |