[ruby-cvs:64965] nobu:r57799 (trunk): string.c: fix integer overflow

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Mar 7 18:07:57 JST 2017


nobu	2017-03-07 18:07:57 +0900 (Tue, 07 Mar 2017)

  New Revision: 57799

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

  Log:
    string.c: fix integer overflow
    
    * string.c (str_byte_substr): fix another integer overflow which
      can happen only when SHARABLE_MIDDLE_SUBSTRING is enabled.
      [ruby-core:79951] [Bug #13289]

  Modified files:
    trunk/string.c


More information about the ruby-cvs mailing list