mruby/mruby — pull request #954 by carsonmcdonald (2013-03-05 20:14:57+00:00)
Title: Add null check after mrb_realloc for array

Fix for issue #953

On a unix box you can see the crash by setting a really low ulimit like so:

```
ulimit -m 10000 -v 10000
```

Then just create a really large array of strings and it will crash. This patch checks the realloc return and raises a runtime exception.