[ruby-cvs:53953] nagachika:r46807 (ruby_2_1): merge revision(s) r46416: [Backport #9942]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Sun Jul 13 23:08:49 JST 2014


nagachika	2014-07-13 23:08:48 +0900 (Sun, 13 Jul 2014)

  New Revision: 46807

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46807

  Log:
    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.

  Modified directories:
    branches/ruby_2_1/
  Modified files:
    branches/ruby_2_1/ChangeLog
    branches/ruby_2_1/array.c
    branches/ruby_2_1/version.h


More information about the ruby-cvs mailing list