diff options
author | Jeremy Evans <[email protected]> | 2025-05-03 11:07:22 -0700 |
---|---|---|
committer | Jeremy Evans <[email protected]> | 2025-05-04 04:10:57 +0900 |
commit | be665cf855d7b35ce166ea1137d4f8d0cac1010b (patch) | |
tree | 9da637d7922023c383b3edff23f6c6852a269456 /spec/ruby/library/stringscanner/peep_spec.rb | |
parent | f3246ccebb0ccb8667fc6f143e69ecc2a9e3fb3c (diff) |
Handle mutation of array being merged into set
Check length of array during every iteration, as a #hash method
could truncate the array, resulting in heap-use-after-free.
Fixes [Bug #21305]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13253
Diffstat (limited to 'spec/ruby/library/stringscanner/peep_spec.rb')
0 files changed, 0 insertions, 0 deletions