mruby/mruby — pull request #1214 by monaka (2013-04-25 08:07:43+00:00)
Title: Pr cleanup load.c

These patches are for error mode.

SIZE_ERROR macro is related on #752. The current code is possible to cause overflow on malloc in case SIZE_MAX < UINT32_MAX.

Some NULL checks are effective for all architectures.