]> git.proxmox.com Git - mirror_qemu.git/commit - block/qcow2.c
qcow2: Validate active L1 table offset and size (CVE-2014-0144)
authorKevin Wolf <kwolf@redhat.com>
Wed, 26 Mar 2014 12:05:46 +0000 (13:05 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 1 Apr 2014 12:19:09 +0000 (14:19 +0200)
commit2d51c32c4b511db8bb9e58208f1e2c25e4c06c85
tree3e124d9eadea4f19b24ca53b036885f87769332d
parentce48f2f441ca98885267af6fd636a7cb804ee646
qcow2: Validate active L1 table offset and size (CVE-2014-0144)

This avoids an unbounded allocation.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/qcow2.c
tests/qemu-iotests/080
tests/qemu-iotests/080.out