]> Git Repo - qemu.git/commit - qapi/qmp-output-visitor.c
qapi: Avoid output visitor crashing if it encounters a NULL value
authorMarcel Apfelbaum <[email protected]>
Mon, 26 May 2014 12:40:55 +0000 (15:40 +0300)
committerAndreas Färber <[email protected]>
Wed, 28 May 2014 15:36:04 +0000 (17:36 +0200)
commit1d10b44546e2605b6dd8a006dcc0d03166649e2d
treed3cfba7c68eb2c04b34c36dea6b595b571b9d471
parent13d7adf92a97c8252df6165ec84127798f3096d3
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 <[email protected]>
Acked-by: Luiz Capitulino <[email protected]>
Signed-off-by: Marcel Apfelbaum <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Acked-by: Michael Roth <[email protected]>
Signed-off-by: Andreas Färber <[email protected]>
qapi/qmp-output-visitor.c
This page took 0.026121 seconds and 4 git commands to generate.