On 10/15/2015 08:15 AM, Markus Armbruster wrote:
> qobject_to_qfloat() and qobject_to_qint() crash on null, which is a
> trap for the unwary. Return null instead, and simplify a few callers.
>
> Signed-off-by: Markus Armbruster
> ---
> qapi/qmp-input-visitor.c | 28
qobject_to_qfloat() and qobject_to_qint() crash on null, which is a
trap for the unwary. Return null instead, and simplify a few callers.
Signed-off-by: Markus Armbruster
---
qapi/qmp-input-visitor.c | 28
qobject/qdict.c | 11 +++
qobject/qfloat.c