1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test
ko1 ac4b2d990c escape all env properly.
* vm_backtrace.c (rb_debug_inspector_open): escape all env using
  `rb_vm_stack_to_heap()` before making bindings.
  [Bug #15105]

  There is a complicated story of this issue:
  Without this patch, IFUNC frame does not escaped. A IFUNC frame
  points to CFUNC ep as previous ep. However, CFUNC ep can be escaped
  because of making bindings of Ruby level frames.
  IFUNC's ep can points to invalidated ep and `rb_iter_break()` will
  fail. This is why `any?` fails.

* test/-ext-/debug/test_debug.rb: add a test.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-09-21 06:41:07 +00:00
..
-ext- escape all env properly. 2018-09-21 06:41:07 +00:00
base64
benchmark
bigdecimal
cgi
coverage compile.c: remove tracecoverage instruction for line coverage 2018-08-22 11:09:47 +00:00
csv Merge csv-3.0.0 from ruby/csv repository. 2018-09-05 13:33:21 +00:00
date
dbm
digest
drb
dtrace
erb
etc
excludes
fiddle test_function.rb: try running test_nogvl_poll again 2018-08-18 02:15:41 +00:00
fileutils
gdbm
io test/io/wait/test_io_wait_uncommon.rb: relax /dev/random check 2018-08-25 22:32:35 +00:00
irb Suppress read of ~/.irbrc 2018-08-18 04:09:48 +00:00
json
lib Propagate subprocess timeout scale option to worker processes 2018-09-16 14:32:30 +00:00
logger
matrix lib/matrix: Fix potential bug of Vector#angle_with 2018-09-16 04:18:50 +00:00
minitest
misc
mkmf
monitor
net test/net/imap/test_imap.rb (test_exception_during_idle): kill infinite looper 2018-08-16 03:37:14 +00:00
nkf
objspace
open-uri
openssl openssl: sync with upstream repository 2018-08-08 14:13:53 +00:00
optparse
ostruct
pathname
psych Merge psych-3.1.0.pre1. 2018-08-27 00:44:04 +00:00
rdoc * remove trailing spaces. 2018-08-27 01:30:20 +00:00
readline Readline: expose rl_completion_quote_character variable 2018-09-02 23:27:08 +00:00
resolv
rexml
rinda Skip EHOSTUNREACH by host issues 2018-09-18 12:55:05 +00:00
ripper test/ripper/test_parser_events.rb (test_block_variables): bump RLIMIT_AS again 2018-08-15 18:56:34 +00:00
rss
ruby Enumerable#to_h with block and so on 2018-09-20 15:06:56 +00:00
rubygems Merge upstream revision of rubygems/rubygems. 2018-09-18 08:37:18 +00:00
scanf
sdbm
shell
socket test/socket/test_socket.rb (timestamp_retry_rw): IO.select before recvmsg 2018-08-20 20:45:40 +00:00
stringio
strscan
syslog
testunit
uri
webrick Silence Net::HTTP warning in test. 2018-08-07 13:08:53 +00:00
win32ole
yaml
zlib
colors
runner.rb
test_abbrev.rb
test_cmath.rb
test_delegate.rb
test_extlibs.rb
test_find.rb
test_forwardable.rb
test_ipaddr.rb
test_mutex_m.rb
test_observer.rb
test_open3.rb
test_pp.rb
test_prettyprint.rb
test_prime.rb
test_pstore.rb
test_pty.rb
test_rbconfig.rb
test_securerandom.rb
test_set.rb
test_shellwords.rb
test_singleton.rb
test_sync.rb
test_syslog.rb
test_tempfile.rb
test_time.rb
test_timeout.rb
test_tmpdir.rb
test_tracer.rb
test_tsort.rb
test_unicode_normalize.rb
test_weakref.rb
test_win32api.rb