diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-11 05:09:58 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-11 05:09:58 +0000 |
commit | a4e76099bf44ae7d75bd24c3c8233d710e590fac (patch) | |
tree | a10ef2692e0920186cf0e8980774e4050374d47a /ChangeLog | |
parent | 698d21a276f862da823c7a6536f9c15afe602e19 (diff) |
* ext/bigdecimal/bigdecimal.c (PUSH): to prevent VALUE from GC,
must not cast it to unsigned long, which may be shorter than
VALUE, and the result can be mere garbage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@35619 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 @@ +Fri May 11 14:09:48 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * ext/bigdecimal/bigdecimal.c (PUSH): to prevent VALUE from GC, + must not cast it to unsigned long, which may be shorter than + VALUE, and the result can be mere garbage. + Sat Apr 14 18:51:41 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> * bignum.c (rb_big2str0): prevent working clone from |