MJPA/SimpleJSON — pull request #15 by filippsen (2013-10-15 19:39:42+00:00)
Title: Fix cases where API allows null inputs

+ Add check for NULL in JSON::Parse
+ Add check for NULL in JSON::SkipWhitespace

Rationale:
1. strlen(NULL) is undefined behaviour.
2. malloc(NULL) is implementation dependent (i.e. non-portable) and may crash.
3. Dereferencing a null pointer is undefined behaviour.