]> git.ipfire.org Git - thirdparty/qemu.git/commit
qcow2: Check header_length (CVE-2014-0144)
authorKevin Wolf <kwolf@redhat.com>
Wed, 26 Mar 2014 12:05:41 +0000 (13:05 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 3 Jul 2014 21:18:12 +0000 (16:18 -0500)
commit665f3ad58f040cc1a09cbd4f91b2e7355a874c6e
tree6646047a90beabe9de9950dfdd7a13677e90a9e3
parent4854971ac1bbc95c41f6c99c8482903c2ef8d1bb
qcow2: Check header_length (CVE-2014-0144)

This fixes an unbounded allocation for s->unknown_header_fields.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
(cherry picked from commit 24342f2cae47d03911e346fe1e520b00dc2818e0)

Conflicts:
tests/qemu-iotests/group

*fixed context mismatches in group file

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
block/qcow2.c
tests/qemu-iotests/080 [new file with mode: 0755]
tests/qemu-iotests/080.out [new file with mode: 0644]
tests/qemu-iotests/group