dxx-rebirth/similar
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 Pass grs_bitmap to gr_pixel 2017-03-11 19:56:23 +00:00
3d Raise MAX_POINTS_PER_POLY to 64 2017-06-07 02:44:55 +00:00
arch Inline OGL_TEXTURE_LIST_SIZE 2017-03-18 18:07:37 +00:00
editor Add gcc-7 /*-fallthrough*/ comments for obvious cases 2017-06-07 02:44:54 +00:00
main Disable newdemo strftime -Wformat-nonliteral warning 2017-06-07 02:44:54 +00:00
misc Fix check_header_includes=1 poison.h 2017-02-19 19:33:36 +00:00