aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2017-03-03 13:32:47 +0100
committerMarkus Armbruster <armbru@redhat.com>2017-03-05 09:14:20 +0100
commit1f41a645b65530859bf5984aa08e103bb452b473 (patch)
tree58b0350fe6cf6b89439ec1a8fdf6a970267c5ec5 /tests
parenta9416dc62c36079b93b4951c894a0b15e53bb38c (diff)
downloadqemu-1f41a645b65530859bf5984aa08e103bb452b473.zip
qemu-1f41a645b65530859bf5984aa08e103bb452b473.tar.gz
qemu-1f41a645b65530859bf5984aa08e103bb452b473.tar.bz2
qapi: Fix object input visit beyond end of list
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <1488544368-30622-28-git-send-email-armbru@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/test-qobject-input-visitor.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test-qobject-input-visitor.c b/tests/test-qobject-input-visitor.c
index 8011baa..94305f5 100644
--- a/tests/test-qobject-input-visitor.c
+++ b/tests/test-qobject-input-visitor.c
@@ -953,10 +953,8 @@ static void test_visitor_in_fail_list(TestInputVisitorData *data,
v = visitor_input_test_init(data, "[]");
visit_start_list(v, NULL, NULL, 0, &error_abort);
-#if 0 /* FIXME crash */
visit_type_int(v, NULL, &i64, &err);
error_free_or_abort(&err);
-#endif
visit_end_list(v, NULL);
}