Files
mruby-mruby/include/mruby
Yukihiro "Matz" Matsumoto 2871d0cdc5 Avoid keeping pointers from mrb_sym2name_len(); fix #4342
The addresses for packed inline symbols reference `mrb->symbuf` that
could be overridden by the later call of `mrb_sym2name_len`. Since
file names in call stack information are kept as symbols, keeping the
address in the C structures could cause problems like #4342.

This changes small incompatible changes in function prototypes:
* `mrb_parser_get_filename`: return value changed to `mrb_sym`.
* `mrb_debug_get_filename`: add `mrb_state*` as a first argument.
* `mrb_debug_get_line`: ditto.

I believe above functions are almost internal, and no third-party
mrbgem use them.
2019-04-01 14:13:06 +09:00
..
2018-12-18 23:05:36 +09:00
2017-10-11 17:58:11 +09:00
2018-12-18 23:14:26 +09:00
2018-12-18 23:14:26 +09:00
2018-11-20 21:27:03 -05:00
2016-11-25 23:15:37 +01:00
2017-10-11 17:58:11 +09:00
2018-12-18 23:05:36 +09:00
2018-12-18 23:14:26 +09:00
2019-01-03 20:09:41 +09:00
2019-03-14 23:09:05 +09:00
2018-12-11 10:52:20 +09:00