[virglrenderer-devel] [PATCH v2 0/4] protect more OpenGL calls

Erik Faye-Lund erik.faye-lund at collabora.com
Fri Jul 20 10:43:05 UTC 2018


As Tomeu pointed out in private:

s/rouge/rogue/

For all patches as well as cover-letter ;)

On 20. juli 2018 10:03, Erik Faye-Lund wrote:
> Here's a few patches to avoid trusting rouge user-space programs
> from crashing the host by tricking virglrenderer into calling
> unsupported OpenGL functions.
>
> This was initially spotted by Po-Hsien Wang during fuzzing (the
> crash in patch #3), the other patches were noticed while reviewing
> for similar issues.
>
> Erik Faye-Lund (4):
>    protect call to glPrimitiveRestartIndex
>    protect call to glDeleteSamplers
>    protect gl{Begin,End}ConditionalRendering calls
>    protect calls to glPrimitiveRestart on GLES 3.1
>
>   src/vrend_renderer.c | 37 ++++++++++++++++++++++++++++---------
>   1 file changed, 28 insertions(+), 9 deletions(-)
>



More information about the virglrenderer-devel mailing list