diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-02-15 12:06:32 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-02-15 12:06:32 +0900 |
| commit | 1e5b5b14d7468ca4fedaa9ba1c9dba0ff67d7ea8 (patch) | |
| tree | 5b397318f60f812789c3794aac6fbe33904a9147 /src/debug.c | |
| parent | 1e57fefbcf1ab327113699eebf2b08d9ec450dfe (diff) | |
| download | mruby-1e5b5b14d7468ca4fedaa9ba1c9dba0ff67d7ea8.tar.gz mruby-1e5b5b14d7468ca4fedaa9ba1c9dba0ff67d7ea8.zip | |
Prohibit too deep `mrb_funcall()` recursion; ref #3421
`mrb_funcall()` recursion can cause stack overflow easily,
so recursion depth is now limited to MRB_FUNCALL_DEPTH_MAX,
which default value is 512.
Diffstat (limited to 'src/debug.c')
0 files changed, 0 insertions, 0 deletions
