Max Reitz 91f827dcff qcow2: Avoid overflow in alloc_clusters_noref()
alloc_clusters_noref() stores the cluster index in a uint64_t. However,
offsets are often represented as int64_t (as for example the return
value of alloc_clusters_noref() itself demonstrates). Therefore, we
should make sure all offsets in the allocated range of clusters are
representable using int64_t without overflows.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2014-04-30 14:46:13 +02:00
..
2014-04-11 13:59:49 +02:00
2014-03-25 14:09:50 +01:00
2014-04-29 16:39:51 +02:00
2014-04-01 15:22:35 +02:00
2014-03-25 14:09:50 +01:00
2014-03-25 14:09:50 +01:00
2014-03-25 14:09:50 +01:00
2014-04-01 13:59:47 +02:00
2014-04-22 12:00:20 +02:00