Home
last modified time | relevance | path

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

/qemu/block/
H A Dqcow2-cluster.cc01dbccb Wed Sep 25 15:48:55 GMT 2013 Max Reitz <mreitz@redhat.com> qcow2: Assert against currently impossible overflow

If qcow2_alloc_cluster_link_l2 is called with a QCowL2Meta describing a
request crossing L2 boundaries, a buffer overflow will occur. This is
impossible right now since such requests are never generated (every
request is shortened to L2 boundaries before) and probably also
completely unintended (considering the name "QCowL2Meta"), however, it
is still worth an assertion.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>