Project

General

Profile

« Previous | Next » 

Revision 49cf0896

Added by naruse (Yui NARUSE) almost 3 years ago

merge revision(s) 90a80eb076429978e720e11fb17a3cbb96de3454: [Backport #19284]

 Fix integer underflow when using HEAP_INIT_SLOTS There is an integer underflow when the environment variable RUBY_GC_HEAP_INIT_SLOTS is less than the number of slots currently in the Ruby heap. [Bug #19284] --- gc.c | 25 +++++++++++++------------ test/ruby/test_gc.rb | 5 +++++ 2 files changed, 18 insertions(+), 12 deletions(-)