Home
last modified time | relevance | path

Searched hist:dba28555 (Results 1 – 1 of 1) sorted by relevance

/qemu/block/
H A Dqcow2-cluster.cdba28555 Mon Mar 10 22:44:07 GMT 2014 Max Reitz <mreitz@redhat.com> qcow2: Check bs->drv in copy_sectors()

Before dereferencing bs->drv for a call to its member bdrv_co_readv(),
copy_sectors() should check whether that pointer is indeed valid, since
it may have been set to NULL by e.g. a concurrent write triggering the
corruption prevention mechanism.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>