mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +02:00
![]() The documentation for `rb_enc_interned_str_cstr` notes that `enc` can be a null pointer, but this currently causes a segmentation fault when trying to autoload the encoding. This commit fixes the issue by checking for NULL before calling `rb_enc_autoload`. |
||
---|---|---|
.. | ||
test_capacity.rb | ||
test_coderange.rb | ||
test_cstr.rb | ||
test_ellipsize.rb | ||
test_enc_associate.rb | ||
test_enc_str_buf_cat.rb | ||
test_external_new.rb | ||
test_fstring.rb | ||
test_interned_str.rb | ||
test_modify_expand.rb | ||
test_nofree.rb | ||
test_normalize.rb | ||
test_qsort.rb | ||
test_rb_str_dup.rb | ||
test_set_len.rb | ||
test_too_many_dummy_encodings.rb |