summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorKevin Wolf2018-03-05 15:59:35 +0100
committerKevin Wolf2018-03-05 18:45:32 +0100
commitbfe1a14c180ec44c033be12b9151252ffda69292 (patch)
treec0f703563f7578cdaf949e7d70764946ec9b1c8b /.travis.yml
parentMerge remote-tracking branch 'mreitz/tags/pull-block-2018-03-02' into queue-b... (diff)
downloadqemu-bfe1a14c180ec44c033be12b9151252ffda69292.tar.gz
qemu-bfe1a14c180ec44c033be12b9151252ffda69292.tar.xz
qemu-bfe1a14c180ec44c033be12b9151252ffda69292.zip
block: Fix NULL dereference on empty drive error
blk_error_action() sends a BLOCK_IO_ERROR QMP event which includes the node name of its root node. If the BlockBackend represents an empty drive, there is no root node, so we should not try to access its node name. Make the field optional in the event and include it only when the BlockBackend isn't empty. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions