Shpoike / Quakespasm

Extra bloaty junk to modernise stuff a bit.
http://triptohell.info/moodles/qss/
GNU General Public License v2.0
191 stars 42 forks source link

Mod_CheckWaterVis overflow #106

Closed Novum closed 2 years ago

Novum commented 2 years ago

https://github.com/Shpoike/Quakespasm/blob/bf20203857fd0c6f964a219fd1d116896b190430/Quake/gl_model.c#L2102

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

See https://github.com/Novum/vkQuake/commit/31829bfd025c74f05082f07b3518e835ba8b7039

Shpoike commented 2 years ago

fixed in 334931c65eb013b5d21f010110d12a34a298ca19