diff options
| author | Alberto Garcia | 2017-05-15 11:34:24 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2017-05-26 16:48:21 +0200 |
| commit | 525989a50a70ea0ffa2b1cdf56279765bb2b7de0 (patch) | |
| tree | 2953b1a906ada28bb85966eb767da63ed379750c /include/exec | |
| parent | Merge remote-tracking branch 'jasowang/tags/net-pull-request' into staging (diff) | |
| download | qemu-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')
0 files changed, 0 insertions, 0 deletions
