1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/-test-
NARUSE, Yui 4e2738f477 merge revision(s) 7e8a9af9db: [Backport #17732]
rb_enc_interned_str: handle autoloaded encodings

	If called with an autoloaded encoding that was not yet
	initialized, `rb_enc_interned_str` would crash with
	a NULL pointer exception.

	See: https://github.com/ruby/ruby/pull/4119#issuecomment-800189841
	---
	 encoding.c                        | 28 ++++++++++++----------------
	 ext/-test-/string/depend          |  3 +++
	 ext/-test-/string/fstring.c       | 15 +++++++++++++++
	 internal/encoding.h               |  3 +++
	 string.c                          |  4 ++++
	 test/-ext-/string/test_fstring.rb | 16 ++++++++++++++++
	 6 files changed, 53 insertions(+), 16 deletions(-)
2021-04-02 16:06:31 +09:00
..
arith_seq/extract
array/resize
bignum
bug-3571
bug-5832
bug-14834
bug_reporter
class
cxxanyargs
debug
dln/empty
enumerator_kw
exception
fatal
file
float
funcall
gvl/call_without_gvl
hash
integer
iseq_load
iter
load
marshal
memory_status Update dependencies for macOS 2020-10-21 12:31:45 +09:00
memory_view [memory_view] Make some rb_memroy_view_t members const 2020-12-23 09:24:55 +09:00
method
notimplement
num2int
path_to_class
popen_deadlock
postponed_job
printf
proc
random
rational
rb_call_super_kw
recursion
regexp
RUBY_ALIGNOF Protoized old pre-ANSI K&R style definitions 2020-12-05 14:57:31 +09:00
scan_args
st Removed rb_cData entity 2020-12-22 02:51:49 +09:00
string merge revision(s) 7e8a9af9db: [Backport #17732] 2021-04-02 16:06:31 +09:00
struct
symbol
thread_fd_close
time
tracepoint keep proc on the stack so it does not move 2020-10-16 11:28:52 -07:00
typeddata Removed rb_cData entity 2020-12-22 02:51:49 +09:00
vm
wait_for_single_fd
win32
auto_ext.rb