merces/pev — pull request #43 by jweyrich (2013-01-22 19:27:57+00:00)
Title: peres: Fix an off-by-one heap overflow in saveResource.

- Fix an off-by-one heap overflow in saveResource.
- Add missing checkings for NULL pointer.