qemu-e2k/qapi
Marcel Apfelbaum 1d10b44546 qapi: Avoid output visitor crashing if it encounters a NULL value
A NULL value is not added to visitor's stack, but there
is no check for that when the visitor tries to return
that value, leading to QEMU crash.

Reviewed-by: Eric Blake <eblake@redhat.com>
Acked-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2014-05-28 17:36:04 +02:00
..
Makefile.objs
opts-visitor.c qapi: Replace start_optional()/end_optional() by optional() 2014-05-15 14:00:45 -04:00
qapi-dealloc-visitor.c Revert "qapi: Clean up superfluous null check in qapi_dealloc_type_str()" 2014-05-09 09:11:32 -04:00
qapi-visit-core.c qapi: Replace uncommon use of the error API by the common one 2014-05-15 14:00:46 -04:00
qmp-dispatch.c qapi: Clean up fragile use of error_is_set() 2014-05-09 09:11:31 -04:00
qmp-input-visitor.c qapi: Replace start_optional()/end_optional() by optional() 2014-05-15 14:00:45 -04:00
qmp-output-visitor.c qapi: Avoid output visitor crashing if it encounters a NULL value 2014-05-28 17:36:04 +02:00
qmp-registry.c
string-input-visitor.c qapi: Replace start_optional()/end_optional() by optional() 2014-05-15 14:00:45 -04:00
string-output-visitor.c