Backport #3235
Updated by jeremyevans0 (Jeremy Evans) over 5 years ago
=begin Reproduction instructions: Execute "irb" from the command line with no parameters. Result: *** glibc detected *** irb: realloc(): invalid next size: 0x081e5f50 *** ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6[0xb7651803] /lib/tls/i686/cmov/libc.so.6(realloc+0x10b)[0xb765375b] irb(ruby_xrealloc+0x56)[0x8075646] Full backtrace can be seen here: http://intertwingly.net/projects/AWDwR3/checkdepot-188/section-19.html Regression was introduced by: http://redmine.ruby-lang.org/repositories/diff/ruby-18/lib/cgi.rb?rev=r27468 =end