diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-15 10:37:42 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-15 10:37:42 +0000 |
commit | 6f7366c2064eb42231500e17ee3b3e5d55701f3f (patch) | |
tree | b05757c175509e84edab2e8dd355fd62283b5fd4 /ChangeLog | |
parent | b5e89e44f12a6e3a42e9515d1d3705d11f9442bf (diff) | |
download | ruby-6f7366c2064eb42231500e17ee3b3e5d55701f3f.tar.gz |
* string.c (setup_fake_str): fake strings should not set class by
RBASIC_SET_CLASS() because it insert write barriers to fake
(non-RVALUE) structure.
It can cause unexpected behaviour.
Ruby 2.1 also have a same problem (setup_fake_str() in parse.y).
* symbol.c (setup_fake_str): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,15 @@ +Fri Aug 15 19:34:33 2014 Koichi Sasada <ko1@atdot.net> + + * string.c (setup_fake_str): fake strings should not set class by + RBASIC_SET_CLASS() because it insert write barriers to fake + (non-RVALUE) structure. + + It can cause unexpected behaviour. + + Ruby 2.1 also have a same problem (setup_fake_str() in parse.y). + + * symbol.c (setup_fake_str): ditto. + Fri Aug 15 19:27:25 2014 Koichi Sasada <ko1@atdot.net> * array.c (rb_ary_tmp_new): added. |