commit | db8a31d11d6a60f48d6817530640d75aa72a9a2f | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Wed Mar 26 13:05:49 2014 +0100 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Tue Apr 01 15:22:34 2014 +0200 |
tree | 0fffcea1fdacb11bf23995b276fdcfd5bd9b5dc3 | |
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>