Jeff Cody 6d759117d3 block: fix null-pointer bug on error case in block commit
This is a bug that was caught by a coverity run by Markus.  In
the error case when we errored out to exit_restore_open early in the
function, 'overlay_bs' was still NULL at that point, although it is
used to look up flags and perform a bdrv_reopen().

Move the overlay_bs lookup to where it is needed, and check for NULL
before restoring the flags.  Also get rid of the unneeded parameter
initialization.

Reported-By: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-01-17 10:51:11 +01:00
2013-01-10 15:11:53 -06:00
2013-01-14 10:23:50 -06:00
2013-01-16 12:14:20 -06:00
2013-01-16 06:58:53 +01:00
2012-12-19 08:29:06 +01:00
2013-01-07 17:37:11 +01:00
2013-01-12 12:26:16 +00:00
2013-01-16 12:14:20 -06:00
2013-01-15 04:09:13 +01:00
2012-12-20 23:08:47 +01:00
2013-01-16 06:58:54 +01:00
2013-01-16 06:58:54 +01:00
2013-01-16 12:15:26 -06:00
2012-12-20 23:09:25 +01:00
2012-12-03 14:08:40 -06:00
2013-01-15 04:09:14 +01:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%