Files
mruby-mruby/src
Yukihiro "Matz" Matsumoto 0da6df6063 class.c: prevent crash in instance_eval; fix #6570
Fixes a null pointer dereference in `find_visibility_scope` when defining a
singleton method inside `instance_eval`.

This was caused by `ci->u.env` being `NULL` in this context. The fix adds a
`NULL` check to prevent the crash.

Co-authored-by: Gemini <gemini@google.com>
2025-07-05 18:32:47 +09:00
..
2025-06-03 08:53:06 +09:00
2024-04-22 18:00:27 +10:00
2023-11-01 22:21:59 +09:00
2016-05-09 17:19:47 +02:00