[ruby-cvs:61333] nobu:r54172 (trunk): parse.y: Fix for nth_ref_max

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Mar 18 16:22:26 JST 2016


nobu	2016-03-18 16:22:26 +0900 (Fri, 18 Mar 2016)

  New Revision: 54172

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

  Log:
    parse.y: Fix for nth_ref_max
    
    * parse.y (parse_numvar): NTH_REF must be less than a half of
      INT_MAX, as it is left-shifted to be ORed with back-ref flag.
      [ruby-core:74444] [Bug#12192] [Fix GH-1296]

  Modified files:
    trunk/ChangeLog
    trunk/parse.y


More information about the ruby-cvs mailing list