[ruby-cvs:60232] nobu:r53080 (trunk): pack.c: check index range

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Dec 13 18:33:41 JST 2015


nobu	2015-12-13 18:33:40 +0900 (Sun, 13 Dec 2015)

  New Revision: 53080

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

  Log:
    pack.c: check index range
    
    * pack.c (pack_pack): always check index range against the
      receiver array length, which can be shortened by elements
      conversion.  reported by Marcin 'Icewall' Noga of Cisco Talos.

  Modified files:
    trunk/ChangeLog
    trunk/pack.c
    trunk/test/ruby/test_pack.rb


More information about the ruby-cvs mailing list