diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-25 01:20:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-25 01:20:01 +0000 |
commit | 51a1c68bc748f1fce2461b3c8a2a75c9c20477d6 (patch) | |
tree | a4edcf3abada40121589dcf7ff2bef62aaa28c5a /ChangeLog | |
parent | 20014eb3e06ea70a80caddea35c50ef3bb403c8c (diff) | |
download | ruby-51a1c68bc748f1fce2461b3c8a2a75c9c20477d6.tar.gz |
hash.c: prohibit tainted strings
* hash.c (env_aset, env_has_key, env_assoc, env_has_value),
(env_rassoc, env_key): prohibit tainted strings if $SAFE is
non-zero. [Bug #9976]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Wed Jun 25 10:19:59 2014 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * hash.c (env_aset, env_has_key, env_assoc, env_has_value), + (env_rassoc, env_key): prohibit tainted strings if $SAFE is + non-zero. [Bug #9976] + Tue Jun 24 14:46:17 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com> * lib/gserver.rb: remove redundant use of to_s in interpolation. |