On 10/15/2015 08:15 AM, Markus Armbruster wrote:
> qobject_to_qstring() crashes on null, which is a trap for the unwary.
> Return null instead, and simplify a few callers.
> 
> Signed-off-by: Markus Armbruster <arm...@redhat.com>
> ---
>  qapi/qmp-input-visitor.c |  6 +++---
>  qobject/qdict.c          | 11 +++--------
>  qobject/qstring.c        |  4 ++--
>  3 files changed, 8 insertions(+), 13 deletions(-)
> 
> diff --git a/qapi/qmp-input-visitor.c b/qapi/qmp-input-visitor.c

Reviewed-by: Eric Blake <ebl...@redhat.com>

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to