summaryrefslogtreecommitdiffstats
path: root/include/exec/exec-all.h
diff options
context:
space:
mode:
authorAlberto Garcia2017-05-15 11:34:24 +0200
committerKevin Wolf2017-05-26 16:48:21 +0200
commit525989a50a70ea0ffa2b1cdf56279765bb2b7de0 (patch)
tree2953b1a906ada28bb85966eb767da63ed379750c /include/exec/exec-all.h
parentMerge remote-tracking branch 'jasowang/tags/net-pull-request' into staging (diff)
downloadqemu-525989a50a70ea0ffa2b1cdf56279765bb2b7de0.tar.gz
qemu-525989a50a70ea0ffa2b1cdf56279765bb2b7de0.tar.xz
qemu-525989a50a70ea0ffa2b1cdf56279765bb2b7de0.zip
stream: fix crash in stream_start() when block_job_create() fails
The code that tries to reopen a BlockDriverState in stream_start() when the creation of a new block job fails crashes because it attempts to dereference a pointer that is known to be NULL. This is a regression introduced in a170a91fd3eab6155da39e740381867e, likely because the code was copied from stream_complete(). Cc: qemu-stable@nongnu.org Reported-by: Kashyap Chamarthy <kchamart@redhat.com> Signed-off-by: Alberto Garcia <berto@igalia.com> Tested-by: Kashyap Chamarthy <kchamart@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions