summaryrefslogtreecommitdiff
path: root/test/-ext-/postponed_job/test_postponed_job.rb
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2022-12-02 09:44:10 -0600
committerAaron Patterson <aaron.patterson@gmail.com>2022-12-03 13:03:51 -0600
commitdba61f487cd7c1555f1187a2e2846506c1b143be (patch)
tree46920be506c2a4bac4c934974eb2aadb419f38ec /test/-ext-/postponed_job/test_postponed_job.rb
parentb8a73e704ddc77db36317dda293e99fb0ee641f4 (diff)
return early if there is no is_entries buffer
If there is a compilation error, is_entries may not be allocated, but ic_size could be greater than 0. If we don't have a buffer to iterate over, just return early. Otherwise GC could segv [Bug #19173]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6853
Diffstat (limited to 'test/-ext-/postponed_job/test_postponed_job.rb')
0 files changed, 0 insertions, 0 deletions