[libvirt] [PATCH 0/3] yajl cleanups

Eric Blake eblake at redhat.com
Mon Jun 22 20:18:31 UTC 2015


Fixes 'make check' on RHEL 6, which I recently broke, then adds
further improvements to the JSON parser.

I'm tempted to push patch 1/3 as a build-breaker, but since the
other two need review, I'll hold off and we can do all three as
a series.

Eric Blake (3):
  json: cope with older yajl semantics
  json: reject javascript comments
  json: reject trailing garbage

 src/util/virjson.c | 45 ++++++++++++++++++++++++++++++++++++++-------
 tests/jsontest.c   |  5 ++++-
 2 files changed, 42 insertions(+), 8 deletions(-)

-- 
2.4.3




More information about the libvir-list mailing list