mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
string.c: new configuration MRB_STR_LENGTH_MAX.
The default value is 1MB. If you want to avoid the limitation, set this value to 0.
This commit is contained in:
@@ -107,6 +107,11 @@
|
||||
/* string class to handle UTF-8 encoding */
|
||||
//#define MRB_UTF8_STRING
|
||||
|
||||
/* maximum length of strings */
|
||||
/* the default value is 1MB */
|
||||
/* set this value to zero to skip the check */
|
||||
//#define MRB_STR_LENGTH_MAX 1048576
|
||||
|
||||
/* argv max size in mrb_funcall */
|
||||
//#define MRB_FUNCALL_ARGC_MAX 16
|
||||
|
||||
|
||||
Reference in New Issue
Block a user