diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-13 13:13:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-13 13:13:02 +0000 |
commit | 26feae3958eff107ce0ff297981f2ed515a19f16 (patch) | |
tree | 3714e1f1a96295541ae5656d31f63ba9696ba694 /ChangeLog | |
parent | 944c620dfabbf46e7a96b96b5dad527d985492d3 (diff) | |
download | ruby-26feae3958eff107ce0ff297981f2ed515a19f16.tar.gz |
random.c: coerce before check negative
* random.c (rb_random_ulong_limited): coerce before check negative.
[Fixes GH-379]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Tue Aug 13 22:12:59 2013 Kenichi Kamiya <kachick1@gmail.com> + + * random.c (rb_random_ulong_limited): coerce before check negative. + [Fixes GH-379] + Tue Aug 13 21:52:15 2013 Kenichi Kamiya <kachick1@gmail.com> * object.c (Init_Object): undef Module#prepend_features on Class, as |