]> granicus.if.org Git - json-c/commit
Fix issue #53 - ensure explicit length string are still NUL terminated, and fix json_...
authorEric Haszlakiewicz <erh+git@nimenees.com>
Sun, 9 Dec 2012 22:32:11 +0000 (16:32 -0600)
committerEric Haszlakiewicz <erh+git@nimenees.com>
Sun, 9 Dec 2012 22:32:11 +0000 (16:32 -0600)
commit4e4af93d667ae0d3cb9779f5a3c3f964cc9d7d81
treef2e3dc1f7de1def9f360dd03cc7b075507b4b173
parent7a4506d6df902001a4261358ed0e04f66ac092d7
Fix issue #53 - ensure explicit length string are still NUL terminated, and fix json_tokener_parse() to work properly with embedded unicode \u0000 values in strings.
Adjust test_null to check for this case.
See also http://bugs.debian.org/687269
json_object.c
json_tokener.c
tests/test_null.c