summaryrefslogtreecommitdiff
path: root/spec/ruby/core/queue/empty_spec.rb
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2024-11-29 02:16:39 +0900
committerYusuke Endoh <mame@ruby-lang.org>2024-11-29 03:01:46 +0900
commit50a34637a4bdd64a709937f09c839195a2b1d967 (patch)
tree5e03024ebce02b1cefd0660b665bdbb490acc39f /spec/ruby/core/queue/empty_spec.rb
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 'spec/ruby/core/queue/empty_spec.rb')
0 files changed, 0 insertions, 0 deletions