mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
fa68e634a7
As #6359 pointed out, calling const_missing hook from E_XXX_ERROR (that calls mrb_exc_get_id()) can be an attack vector. Since E_XXX_ERROR is supposed to be a defined error class, we think that the situation where it is undefined and the const_missing hook is called should be detected as an error; fix #6359