summaryrefslogtreecommitdiff
path: root/include/ruby/version.h
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2024-05-29 11:07:07 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2024-05-29 11:07:07 -0700
commit548c7cb9f517dcb8029bd9698187c81819e08edd (patch)
tree45ed193d5d7f36bf0fb66b9dbc919dd800122f79 /include/ruby/version.h
parent8f1084db9b07cb74f99de70d6f8bb6076d27d8aa (diff)
merge revision(s) 7e4b1f8e1935a10df3c41ee60ca0987d73281126: [Backport #20322]
[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`.
Diffstat (limited to 'include/ruby/version.h')
0 files changed, 0 insertions, 0 deletions