summary refs log tree commit diff stats
path: root/qga/commands-posix.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2018-07-16 11:10:12 +0200
committerMarkus Armbruster <armbru@redhat.com>2018-07-16 15:46:57 +0200
commit8720e63e09fa1e48dbd244d89d6fed6b5c50889d (patch)
tree07ccf2bf9fc0162dcab349b5239e6db832eb2db6 /qga/commands-posix.c
parentb02c9bc35a03c099600693d6909f4566078880b8 (diff)
downloadfocaccia-qemu-8720e63e09fa1e48dbd244d89d6fed6b5c50889d.tar.gz
focaccia-qemu-8720e63e09fa1e48dbd244d89d6fed6b5c50889d.zip
monitor: Fix tracepoint crash on JSON syntax error
When tracepoint handle_qmp_command is enabled, we crash on JSON syntax
errors.  Broken in commit 1cc37471525.  Fix by skipping the tracepoint
on JSON syntax error.  Before the flawed commit, we skipped it by
returning early.

Fixes: CID 1394216
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180716091012.29510-1-armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'qga/commands-posix.c')
0 files changed, 0 insertions, 0 deletions