mruby/mruby — pull request #2673 by sdottaka (2014-12-16 16:07:17+00:00)
Title: Make sure that mrb_string_value_ptr() returns a null-terminated string.

This fixes the following unexpected behavior.

~~~
$ mirb
> ENV["PATH"]
=> "C:\Program Files ....
> ENV["PATH************************"[0..3]]
=> nil
~~~