sezero / quakespasm

QuakeSpasm -- A modern, cross-platform Quake game engine based on FitzQuake.
https://sourceforge.net/projects/quakespasm/
GNU General Public License v2.0
244 stars 97 forks source link

Fix out-of-bound reads when handling type sizes #65

Closed alexey-lysiuk closed 1 year ago

alexey-lysiuk commented 1 year ago

Loading progs.dat that uses FTE extensions types causes undefined behavior when saving games or printing edicts to console

Example of this issue: https://github.com/JosiahJack/Keep/issues/14

sezero commented 1 year ago

This patch is in. Thanks.