This series fixes a call to a NULL function pointer during
copy_sectors(), if a concurrent write request triggered the corruption
prevention mechanism.


Max Reitz (3):
  qcow2: Check bs->drv in copy_sectors()
  block: bs->drv may be NULL in bdrv_debug_resume()
  iotests: Test corruption during COW request

 block.c                    |  2 +-
 block/qcow2-cluster.c      |  4 ++++
 tests/qemu-iotests/060     | 26 ++++++++++++++++++++++++++
 tests/qemu-iotests/060.out | 15 +++++++++++++++
 4 files changed, 46 insertions(+), 1 deletion(-)

-- 
1.9.0


Reply via email to