ruby/ext/-test-/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
..
capacity.c [Feature #18239] Implement VWA for strings 2021-10-25 13:26:23 -04:00
coderange.c Expand tabs [ci skip] 2022-07-21 09:42:04 -07:00
cstr.c Unify length field for embedded and heap strings (#7908) 2023-06-06 10:19:20 -04:00
depend String for string literal is not resizable 2023-11-08 00:59:45 +09:00
ellipsize.c
enc_associate.c
enc_dummy.c Remove Encoding#replicate 2023-01-11 13:41:41 +01:00
enc_str_buf_cat.c Scan the coderange in the given encoding 2021-06-26 16:05:15 +09:00
extconf.rb
fstring.c [Bug #20322] Fix rb_enc_interned_str_cstr null encoding 2024-03-03 10:43:35 +00:00
init.c
modify.c
new.c
nofree.c
normalize.c
qsort.c Expand tabs [ci skip] 2022-07-21 09:42:04 -07:00
rb_interned_str.c Fix rb_interned_str_* functions to not assume static strings 2020-11-30 17:33:28 +09:00
rb_str_dup.c
set_len.c [Bug #19902] Update the coderange regarding the changed region 2023-09-26 15:35:40 +09:00