Hi folks

If an empty or invalid JSON string is passed to the json_get_field function from the the json module, it causes a segfault.

I have attached a patch.

Regards,
Richard

--
Richard Brady
M: +44 (0)7771 623 348
T:  +44 (0)20 8144 8160
E: rnbrady@gmail.com