commit | a49139af77850d64d74f9ffe43cabe7aa4f19de0 | [log] [tgz] |
---|---|---|
author | Max Reitz <mreitz@redhat.com> | Tue Apr 29 19:03:13 2014 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Wed Apr 30 14:46:17 2014 +0200 |
tree | cdc502c986e95039e30a3c639e24509ccc3bec2e | |
parent | 521b2b5df0ccad764cf95164c6e428f855067a6f [diff] |
qcow2: Catch bdrv_getlength() error The call to bdrv_getlength() from qcow2_check_refcounts() may result in an error. Check this and abort if necessary. Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>