[SR-Users] Patch to resolve segfault in json module

Richard Brady rnbrady at gmail.com
Tue Jan 22 14:31:32 CET 2013


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 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130122/b774127f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: json_segfault_fix.patch
Type: application/octet-stream
Size: 539 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130122/b774127f/attachment.obj>


More information about the sr-users mailing list