On Mon, Sep 29, 2014 at 09:06:22AM +0100, Richard W.M. Jones wrote:
> $ ./qemu-img create -f qcow2 overlay \
> -b 'json: { "file.driver":"ssh",
> "file.host":"localhost",
> "file.host_key_check":"no" }'
> qemu-img: qobject/qdict.c:193: qdict_get_obj: Assertion `obj != ((void *)0)'
> failed.
> Aborted
>
> A similar crash also happens if the file.host field is omitted.
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1147343
>
> Bug found and reported by Jun Li.
>
> Signed-off-by: Richard W.M. Jones <[email protected]>
> ---
> block/ssh.c | 10 ++++++++++
> 1 file changed, 10 insertions(+)Please CC Kevin Wolf and me on block patches. Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan
pgpzXzETSE1cj.pgp
Description: PGP signature
