| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-03-04 | Unshare popped TT_ENV objects. | Yukihiro "Matz" Matsumoto | |
| 2017-03-04 | Limit ecall() recursion levels; fix #3466 | Yukihiro "Matz" Matsumoto | |
| 2017-03-02 | Define jmpbuf_id outside of `extern "C"`; ref #3470 | Yukihiro "Matz" Matsumoto | |
| 2017-03-02 | Fix possible stack overflow for `method_missing`; fix #3478 | Yukihiro "Matz" Matsumoto | |
| Instead of shifting mruby VM stack, we always use CALL_MAXARGS. | |||
| 2017-03-02 | Reorganize C++ exceptions; ref #3470 | Yukihiro "Matz" Matsumoto | |
| There are 3 levels of C++ exception handling: * default - no C++ exception (use setjmp/longjmp) * enable_cxx_exception (use C++ exceptions with C ABI) * enable_cxx_abi (use C++ ABI including exceptions) | |||
| 2017-03-01 | `ci` may be moved during `mrb_convert_type()`; ref #3474 | Yukihiro "Matz" Matsumoto | |
| 2017-02-27 | Check if OP_RETURN cross C function boundary; fix #3462 | Yukihiro "Matz" Matsumoto | |
| 2017-02-27 | Fixed ecall() invoked too early; fix #3464 | Yukihiro "Matz" Matsumoto | |
| 2017-02-27 | Update local variable only after the value is checked. | Yukihiro "Matz" Matsumoto | |
| 2017-02-27 | Clear block arg when method_missing takes *args. | Yukihiro "Matz" Matsumoto | |
| 2017-02-27 | Stack may be reallocated in mrb_run(); fix #3465 | Yukihiro "Matz" Matsumoto | |
| 2017-02-27 | Always keep block argument space in stack; fix #3469 | Yukihiro "Matz" Matsumoto | |
| 2017-02-15 | Prohibit too deep `mrb_funcall()` recursion; ref #3421 | Yukihiro "Matz" Matsumoto | |
| `mrb_funcall()` recursion can cause stack overflow easily, so recursion depth is now limited to MRB_FUNCALL_DEPTH_MAX, which default value is 512. | |||
| 2017-02-15 | Preallocate SystemStackError; ref #3421 | Yukihiro "Matz" Matsumoto | |
| 2017-02-14 | Extend mruby stack when keep is bigger than room; fix #3421 | Yukihiro "Matz" Matsumoto | |
| But #3421 still cause stack overflow error due to infinite recursion. To prevent overflow, we need to add different stack depth check. | |||
| 2017-02-13 | Should handle `break` from funcall(); fix #3434 | Yukihiro "Matz" Matsumoto | |
| This issue was reported by https://hackerone.com/d4nny | |||
| 2017-02-13 | Fixed too much value_copy() when block is not given; fix #3440 | Yukihiro "Matz" Matsumoto | |
| The issue was reported by https://hackerone.com/titanous | |||
| 2017-02-11 | Avoid direct return from ecall(); fix #3441 | Yukihiro "Matz" Matsumoto | |
| There's incompatibility left for mruby. When you return from `ensure` clause, mruby simply ignores the return value. CRuby returns from the method squashing the exception raised. ``` def f no_such_method() # NoMethodError ensure return 22 end p f() # CRuby prints `22` ``` | |||
| 2017-02-11 | `ecall()` should preserve stack address referenced from ci[1]. | Yukihiro "Matz" Matsumoto | |
| OP_RETURN accesses ci[1]->stackent that might be broken; fix #3442 | |||
| 2017-02-08 | Add MRB_TT_PROC check to OP_SUPER as well; fix #3432 | Yukihiro "Matz" Matsumoto | |
| 2017-02-08 | Check if m->env is NULL before dereferencing it; fix #3436 | Yukihiro "Matz" Matsumoto | |
| 2017-02-08 | Fixed a bug in ci address shifting; fix #3423 | Yukihiro "Matz" Matsumoto | |
| Dinko Galetic and Denis Kasak reported the issue and the fix. (via https://hackerone.com/dgaletic). | |||
| 2017-02-04 | Make `eval` to use trampoline technique; fix #3415 | Yukihiro "Matz" Matsumoto | |
| Now `eval()` can call Fiber.yield etc. | |||
| 2017-01-25 | Copy mrb_float values from pool when MRB_WORD_BOXING; ref #3396 | Yukihiro "Matz" Matsumoto | |
| 2017-01-23 | The ensure clause should keep its ci after its execution; fix #3406 | Yukihiro "Matz" Matsumoto | |
| This issue was reported by https://hackerone.com/ston3 | |||
| 2017-01-21 | Stack position may be bigger than stack bottom; fix #3401 | Yukihiro "Matz" Matsumoto | |
| This issue was reported by https://hackerone.com/titanous | |||
| 2017-01-18 | Initialize callinfo->acc; ref #3243 | Yukihiro "Matz" Matsumoto | |
| 2017-01-12 | Add proper given argument number in the wrong-number-argument error. | Yukihiro "Matz" Matsumoto | |
| 2017-01-12 | Add proper stack size calculation; fix #3398 | Yukihiro "Matz" Matsumoto | |
| This issue was reported by https://hackerone.com/ssarong | |||
| 2017-01-11 | Use temporary variable to avoid potential crash; fix #3387 | Yukihiro "Matz" Matsumoto | |
| This issue was original reported by https://hackerone.com/icanthack https://hackerone.com/titanous suggested the solution. `regs` may be reallocated in the function call. | |||
| 2017-01-11 | Check if ci->target_class is NULL before dereferencing | Yukihiro "Matz" Matsumoto | |
| close #3389 This issue was reported by https://hackerone.com/ston3 | |||
| 2017-01-02 | use size_t instead of int | Yukihiro "Matz" Matsumoto | |
| 2016-12-30 | method_missing() may have CALL_MAXARGS-1 arguments; fix #3351 | Yukihiro "Matz" Matsumoto | |
| The issue was reported by https://hackerone.com/ston3 | |||
| 2016-12-13 | Restore callinfo offset in mrb_yield_with_class() | Yukihiro "Matz" Matsumoto | |
| 2016-12-05 | Merge pull request #3318 from bouk/splat-stack | Yukihiro "Matz" Matsumoto | |
| Fix stack move segfaulting in OP_ARYCAT | |||
| 2016-12-03 | Merge branch 'method-missing-segfault' of https://github.com/bouk/mruby into ↵ | Yukihiro "Matz" Matsumoto | |
| bouk-method-missing-segfault | |||
| 2016-12-01 | Fix stack move segfaulting in OP_ARYCAT | Bouke van der Bijl | |
| Reported by https://hackerone.com/haquaman Testcase (couldn't get it to work as a test): def nil.b b *nil end nil.b | |||
| 2016-11-24 | Fix instances where return value of mrb_method_search_vm is unchecked | Francois Chagnon | |
| Reported by @charliesome | |||
| 2016-11-24 | Fix segfault when defining class inside instance_exec on primitive | Bouke van der Bijl | |
| 2016-11-07 | fixed wrong stack adjustment for ensure clauses; fix #3175 | Yukihiro "Matz" Matsumoto | |
| 2016-11-05 | associate REnv to the executing block; fix #3214 | Yukihiro "Matz" Matsumoto | |
| 2016-10-20 | Move to_proc conversion from OP_ENTER to OP_SENDB; fix #3227 | Yukihiro "Matz" Matsumoto | |
| 2016-09-20 | Fix return value type of bytecode_decoder | Kazuaki Tanaka | |
| 2016-09-20 | Bytecode decoder support, MRB_BYTECODE_DECODE_OPTION | Kazuaki Tanaka | |
| 2016-09-06 | surpress warning when MRB_DISABLE_STDIO | yuri | |
| 2016-09-05 | Should clear method name | ksss | |
| - Fix method name in top-level - Fix SEGV when call Exception#backtrace if callinfo over CALLINFO_INIT_SIZE(32) | |||
| 2016-07-14 | Should raise LocalJumpError when no block given | ksss | |
| 2016-05-10 | use mrb_int_mul_overflow() | cremno | |
| 2016-05-09 | Remove needless assignment | Kouhei Sutou | |
| d4ee409ae912dec6eb719a5727da4566f817d9d8 should remove this line. | |||
| 2016-04-27 | Use stack directly | Kenji Okimoto | |
| See https://github.com/mruby/mruby/pull/3142#issuecomment-201138873 | |||
