aboutsummaryrefslogtreecommitdiff
path: root/check-qdict.c
diff options
context:
space:
mode:
authorFrediano Ziglio <freddy77@gmail.com>2011-09-10 10:23:56 +0200
committerKevin Wolf <kwolf@redhat.com>2011-09-12 15:17:22 +0200
commitee18e730234792b33e01d47939f4c30f29c9744e (patch)
tree8eac1cbd5b066ebf81744ac073e0840c85336d85 /check-qdict.c
parentdea43a65d6b09c43cc7df94f76bb7522016318f4 (diff)
qcow2: fix range check
QCowL2Meta::offset is not cluster aligned but only sector aligned however nb_clusters count cluster from cluster start. This fix range check. Note that old code have no corruption issues related to this check cause it only cause intersection to occur when shouldn't. Signed-off-by: Frediano Ziglio <freddy77@gmail.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'check-qdict.c')
0 files changed, 0 insertions, 0 deletions