mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
* encoding.c (load_encoding): predefined encoding names are safe.
[ruby-dev:44469] [Bug #5279] * transcode.c (load_transcoder_entry): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a1c5ebe787
commit
3a6c3a672f
4 changed files with 18 additions and 1 deletions
|
@ -561,6 +561,7 @@ load_encoding(const char *name)
|
|||
else if (ISUPPER(*s)) *s = TOLOWER(*s);
|
||||
++s;
|
||||
}
|
||||
FL_UNSET(enclib, FL_TAINT|FL_UNTRUSTED);
|
||||
OBJ_FREEZE(enclib);
|
||||
ruby_verbose = Qfalse;
|
||||
ruby_debug = Qfalse;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue