summaryrefslogtreecommitdiff
path: root/yjit/src/codegen.rs
diff options
context:
space:
mode:
authorYusuke Endoh <[email protected]>2024-11-29 02:16:39 +0900
committerYusuke Endoh <[email protected]>2024-11-29 03:01:46 +0900
commit50a34637a4bdd64a709937f09c839195a2b1d967 (patch)
tree5e03024ebce02b1cefd0660b665bdbb490acc39f /yjit/src/codegen.rs
parent803eed6943b910546c531a1892f1bc63ff1c0884 (diff)
Avoid illegal pointer
When loading a crafted marshal data of Random, a pointer to an illegal address was created. I don't think there is any harm since the data is normalized before access, but just to be safe, I add a check to make it an error.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12200
Diffstat (limited to 'yjit/src/codegen.rs')
0 files changed, 0 insertions, 0 deletions