Daemon icon indicating copy to clipboard operation
Daemon copied to clipboard

Crash on malformed debug draw commands

Open slipher opened this issue 2 years ago • 0 comments

When handling debug draw commands, the renderer may access an invalid tess.verts pointer if the debug draw commands fail to issue a BEGIN command. E.g.

// from the sgame
DebugDrawQuake dd;
vec3_t p{};
dd.vertex(p, -1);
dd.vertex(p, -1);
dd.sendCommands();

slipher avatar Mar 11 '24 04:03 slipher