[ruby-cvs:54479] usa:r47331 (ruby_2_0_0): merge revision(s) 46416: [Backport #9942]

usa at ruby-lang.org usa at ruby-lang.org
Sun Aug 31 15:30:51 JST 2014


usa	2014-08-31 15:30:50 +0900 (Sun, 31 Aug 2014)

  New Revision: 47331

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

  Log:
    merge revision(s) 46416: [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_0_0/
  Modified files:
    branches/ruby_2_0_0/ChangeLog
    branches/ruby_2_0_0/array.c
    branches/ruby_2_0_0/version.h


More information about the ruby-cvs mailing list