diff options
author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-13 14:08:48 +0000 |
---|---|---|
committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-13 14:08:48 +0000 |
commit | aa8380e17af88e98ff6e9498edf8f952b5b15fca (patch) | |
tree | 17bc5831b9796e27f475e418b0017353058591e6 /ChangeLog | |
parent | 5c1a69452b3fcdb0c6353a6ca5bc9292603e05f8 (diff) |
merge revision(s) r46416: [Backport #9942]
* array.c (rb_ary_permutation): `p` is the array of size `r`, as
commented at permute0(). since `n >= r` here, buffer overflow
never happened, just reduce unnecessary allocation though.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46807 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 @@ +Sun Jul 13 23:02:36 2014 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * array.c (rb_ary_permutation): `p` is the array of size `r`, as + commented at permute0(). since `n >= r` here, buffer overflow + never happened, just reduce unnecessary allocation though. + Sun Jul 13 22:52:43 2014 Nobuyoshi Nakada <nobu@ruby-lang.org> * pack.c (encodes): fix buffer overrun by tail_lf. Thanks to |