Project

General

Profile

Bug #13339

Updated by buehmann (Andreas Bühmann) about 7 years ago

This makes ruby 2.4.0 crash on my system (log attached): 

 ```ruby 
 ~~~ ruby 
 ('a' * 23).encode('utf-16').encode!('utf-8') 
 ``` 

 ~~~ 
 If you change the length of the string (from 23 to 22 or 24), everything's fine.

Back