team-eternity / eternity

The Eternity Engine
http://eternity.youfailit.net/wiki/Main_Page
GNU General Public License v3.0
230 stars 36 forks source link

Crash when setting 512x600 resolution #603

Closed ioan-chera closed 10 months ago

ioan-chera commented 10 months ago

Tested on Mac, after starting at 640x480w resolution, then setting 512x600w, it would crash in void V_SetScaling(VBuffer *buffer, int unscaledw, int unscaledh)

Seems off-by one overflow