Bug#772585: json-glib: decode_utf16_surrogate_pair: assertion failed: (0xd800 <= units[0] && units[0] <= 0xdbff)
Jakub Wilk
jwilk at debian.org
Mon Dec 8 19:42:16 UTC 2014
Source: json-glib
Version: 1.0.2-1
$ json-glib-validate test.json
**
Json:ERROR:./json-scanner.c:592:decode_utf16_surrogate_pair: assertion failed: (0xd800 <= units[0] && units[0] <= 0xdbff)
Aborted
The test file doesn't contain valid JSON, but I'd expect
json-glib-validate to exit normally (with nonzero exit code), instead of
aborting.
This bug was found using American fuzzy lop:
http://lcamtuf.coredump.cx/afl/
--
Jakub Wilk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.json
Type: application/json
Size: 17 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20141208/0f4a7d5f/attachment-0001.json>
More information about the pkg-gnome-maintainers
mailing list