Skip to content

Avoid calling mrb_gv_set() from mrb_gc_unregister()#6386

Merged
matz merged 1 commit intomruby:masterfrom
dearblue:gc-unregister
Oct 21, 2024
Merged

Avoid calling mrb_gv_set() from mrb_gc_unregister()#6386
matz merged 1 commit intomruby:masterfrom
dearblue:gc-unregister

Conversation

@dearblue
Copy link
Copy Markdown
Contributor

Should simply be ignored for the possibility of being called from RData::dfree.


Currently, use-after-free still occurs when called during mrb_close().
I will send a patch to fix it after checking more.

Should simply be ignored for the possibility of being called from `RData::dfree`.
@dearblue dearblue requested a review from matz as a code owner October 19, 2024 02:22
@github-actions github-actions bot added the core label Oct 19, 2024
@matz matz merged commit f6fbfdf into mruby:master Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants