]> git.proxmox.com Git - qemu.git/commit - qobject/json-parser.c
json-parser: add handling for NULL token list
authorMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 1 Jun 2011 17:15:00 +0000 (12:15 -0500)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 7 Jun 2011 18:52:11 +0000 (13:52 -0500)
commitc1990ebfa11265d3aa9b6a4d5d1a02bd3f9ac5c6
treed658e474c4f362bc2a0bcdb12ab2d9abc51bb2c4
parent5e2dafeb198ba095ea784a97b44011ce2ed03511
json-parser: add handling for NULL token list

Currently a NULL token list will crash the parser, instead we have it
pass back a NULL QObject.

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
json-parser.c