dxx-rebirth/common
Kp 79e4e0a628 Raise MAX_POINTS_PER_POLY to 64
Past releases had a debug-only assertion that 25 was sufficient, but
then dynamically allocated enough storage for larger models as needed.
Commit 22a34809ee ("Move interpreter g3s_lrgb onto stack") added a
hard limit of 25, but did not detect attempts to exceed this.  Custom
models that exceeded 25 would cause a stack buffer overwrite and likely
crash.  Raise the limit to 64 and add sanity checking to refuse to
render models that exceed MAX_POINTS_PER_POLY.

Fixes: 22a34809ee ("Move interpreter g3s_lrgb onto stack")
2017-06-07 02:44:55 +00:00
..
2d Work around i686-w64-mingw32-g++ compiler crash 2017-04-22 21:23:55 +00:00
3d Pass up various return values 2017-02-26 00:00:02 +00:00
arch Handle unaligned stack during Win32 hexdump logging 2017-06-03 17:11:12 +00:00
editor
include Raise MAX_POINTS_PER_POLY to 64 2017-06-07 02:44:55 +00:00
main Fix label truncation when strlen(hats) + 1 < strlen(buttons) 2017-05-13 04:19:39 +00:00
maths
mem
misc Fix check_header_includes=1 poison.h 2017-02-19 19:33:36 +00:00
texmap Simplify draw_tmap interpolation 2017-03-10 01:22:24 +00:00
ui Add gcc-7 /*-fallthrough*/ comments for obvious cases 2017-06-07 02:44:54 +00:00