Shpoike/Quakespasm

Mod_CheckWaterVis overflow

Novum opened this issue · 1 comments

Novum commented

for (contenttype = 0, i = 0; i < leaf->nummarksurfaces; i++)

This resets i of the outer loop which then causes leaf++ to overflow the loadmodel->leafs allocation.

See Novum/vkQuake@31829bf

fixed in 334931c