summaryrefslogtreecommitdiffhomepage
path: root/src/error.h
diff options
context:
space:
mode:
authordearblue <[email protected]>2021-11-22 21:39:39 +0900
committerdearblue <[email protected]>2021-11-22 21:55:02 +0900
commitb02bd63dc5cd4918230fed3344bc71e2e5540087 (patch)
tree99833d05fc9f4c5281a5f58eb24898e3be066f76 /src/error.h
parent01cadd3e706c1713a7b77e2e214df2d1695f875f (diff)
downloadmruby-b02bd63dc5cd4918230fed3344bc71e2e5540087.tar.gz
mruby-b02bd63dc5cd4918230fed3344bc71e2e5540087.zip
Fixed occurs `SIGSEGV` with `mrbgems/mruby-method`
Calling the `Method#{parameters,source_location}` method on a static `Proc` object resulted in `SIGSEGV`. The trigger is https://github.com/mruby/mruby/pull/5402. The original implementation of the `Method#{parameters,source_location}` method was to temporarily rewrite the object and then call the method of the same name in `Proc`. Rewriting of objects placed in the ROM section by #5402 above is prohibited by hardware such as the CPU. This caused a `SIGSEGV`.
Diffstat (limited to 'src/error.h')
0 files changed, 0 insertions, 0 deletions