Go to file
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
common Raise MAX_POINTS_PER_POLY to 64 2017-06-07 02:44:55 +00:00
contrib Add Gentoo ebuilds for beta 2017-04-08 16:48:19 +00:00
d1x-rebirth Expand bomb spin variance 2017-03-11 19:56:26 +00:00
d2x-rebirth Pass canvas &to nm_draw_background 2017-04-08 16:48:20 +00:00
Documentation Require support for reference qualified methods 2016-12-10 17:51:07 +00:00
similar Raise MAX_POINTS_PER_POLY to 64 2017-06-07 02:44:55 +00:00
.gitattributes Add .gitattributes to control EOL conversion 2017-04-08 16:48:18 +00:00
.gitignore
COPYING.txt
GPL-3.txt
INSTALL.markdown Fix Ubuntu package name in INSTALL.markdown 2016-12-23 02:56:55 +00:00
SConstruct Tighten __builtin_constant_p check to handle gcc-7 2017-06-03 17:11:12 +00:00