#include #include #include #include char *test = "{\x80\xc0 \x00 }\x00"; void main(int argc, char *argv[]) { ARGBEGIN{ }ARGEND mainmem->flags |= POOL_PARANOIA; JSON *p = jsonparse(test); assert(p); jsonfree(p); exits(nil); }