Project

General

Profile

« Previous | Next » 

Revision 7e8a9af9

Added by byroot (Jean Boussier) over 4 years ago

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