ruby/test/-ext-/string
Thomas Marshall 7e4b1f8e19
[Bug #20322] Fix rb_enc_interned_str_cstr null encoding
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`.
2024-03-03 10:43:35 +00:00
..
test_capacity.rb Make String.new size pools aware. 2023-11-02 23:34:58 +01:00
test_coderange.rb
test_cstr.rb Transition shape when object's capacity changes 2022-11-10 10:11:34 -05:00
test_ellipsize.rb
test_enc_associate.rb
test_enc_str_buf_cat.rb
test_external_new.rb
test_fstring.rb [Bug #20322] Fix rb_enc_interned_str_cstr null encoding 2024-03-03 10:43:35 +00:00
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 [Bug #19902] Update the coderange regarding the changed region 2023-09-26 15:35:40 +09:00
test_too_many_dummy_encodings.rb Remove --disable-gems for assert_separately 2023-08-03 09:11:08 +09:00