diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-02-05 21:09:27 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-02-05 21:09:27 +0000 |
commit | e27a538eab6a186be4d92147fd51d23eb4503abd (patch) | |
tree | 84498da574371f985dfae5f96e4909be1744dbbb /doc | |
parent | c6da6fb04e0ef3c1c065c9cbc97b8683ae236731 (diff) | |
download | ruby-e27a538eab6a186be4d92147fd51d23eb4503abd.tar.gz |
security.rdoc: correction
* doc/security.rdoc (Symbols): ID2SYM never creates new IDs bound
to immortal symbols, SYM2ID may create new IDs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc')
-rw-r--r-- | doc/security.rdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/security.rdoc b/doc/security.rdoc index 2a610f1557..378699fb15 100644 --- a/doc/security.rdoc +++ b/doc/security.rdoc @@ -75,7 +75,7 @@ They are created when modifying code: * defining a method (e.g. with +define_method+), * setting an instance variable (e.g. with +instance_variable_set+), * creating a variable or constant (e.g. with +const_set+) -C extensions that have not been updated and are still calling `ID2SYM` +C extensions that have not been updated and are still calling `SYM2ID` will create immortal symbols. Bugs in 2.2.0: +send+ and +__send__+ also created immortal symbols, and calling methods with keyword arguments could also create some. |