Skip to content
  • nagachika's avatar
    909331e2
    merge revision(s) 57816,57817: [Backport #13292] · 909331e2
    nagachika authored
    	fix UTF-32 valid_encoding?
    
    	* enc/utf_32be.c (utf32be_mbc_enc_len): check arguments precisely.
    	  [ruby-core:79966] [Bug #13292]
    
    	* enc/utf_32le.c (utf32le_mbc_enc_len): ditto.
    
    	* regenc.h (UNICODE_VALID_CODEPOINT_P): predicate for valid
    	  Unicode codepoints.
    	fix UTF-32 valid_encoding?
    
    	* test/ruby/test_io_m17n.rb (TestIO_M17N#test_puts_widechar): do
    	  not use invalid codepoint.  [ruby-core:79966] [Bug #13292]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@58183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    909331e2
    merge revision(s) 57816,57817: [Backport #13292]
    nagachika authored
    	fix UTF-32 valid_encoding?
    
    	* enc/utf_32be.c (utf32be_mbc_enc_len): check arguments precisely.
    	  [ruby-core:79966] [Bug #13292]
    
    	* enc/utf_32le.c (utf32le_mbc_enc_len): ditto.
    
    	* regenc.h (UNICODE_VALID_CODEPOINT_P): predicate for valid
    	  Unicode codepoints.
    	fix UTF-32 valid_encoding?
    
    	* test/ruby/test_io_m17n.rb (TestIO_M17N#test_puts_widechar): do
    	  not use invalid codepoint.  [ruby-core:79966] [Bug #13292]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@58183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Loading