qcow2: Protect against some integer overflows in bdrv_check
commit0abe740f1de899737242bcba1fb4a9857f7a3087
authorKevin Wolf <kwolf@redhat.com>
Wed, 26 Mar 2014 12:05:52 +0000 (26 13:05 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 1 Apr 2014 13:22:35 +0000 (1 15:22 +0200)
tree782b63858caae14f3d40e70eddd23c7d0f754bf0
parentbb572aefbdac290363bfa5ca0e810ccce0a14ed6
qcow2: Protect against some integer overflows in bdrv_check

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/qcow2-refcount.c