diff options
author | Kevin Wolf <kwolf@redhat.com> | 2014-03-26 13:05:49 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-04-01 15:22:34 +0200 |
commit | db8a31d11d6a60f48d6817530640d75aa72a9a2f (patch) | |
tree | 0fffcea1fdacb11bf23995b276fdcfd5bd9b5dc3 /block/qcow2.c | |
parent | b106ad9185f35fc4ad669555ad0e79e276083bd7 (diff) |
qcow2: Avoid integer overflow in get_refcount (CVE-2014-0143)
This ensures that the checks catch all invalid cluster indexes
instead of returning the refcount of a wrong cluster.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/qcow2.c')
0 files changed, 0 insertions, 0 deletions