[ruby-cvs:65211] nobu:r58040 (trunk): stringio.c: check character code

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Mar 21 12:15:56 JST 2017


nobu	2017-03-21 12:15:56 +0900 (Tue, 21 Mar 2017)

  New Revision: 58040

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

  Log:
    stringio.c: check character code
    
    * ext/stringio/stringio.c (strio_ungetc): check if the character
      code is valid in the encoding.  reported by Ahmad Sherif
      (ahmadsherif) at https://hackerone.com/reports/209593.

  Modified files:
    trunk/ext/stringio/stringio.c
    trunk/test/stringio/test_stringio.rb


More information about the ruby-cvs mailing list