]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
vpc: Validate block size (CVE-2014-0142)
authorKevin Wolf <kwolf@redhat.com>
Wed, 26 Mar 2014 12:05:37 +0000 (13:05 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 3 Jul 2014 21:18:11 +0000 (16:18 -0500)
commit76d1eddbe533d828eb866c36b7b13837986c7fc3
treed9d567b6968d2029fbe5cc838cbd53ad8e8adb0a
parentb2390c7008561c595127090688960a145a592f6b
vpc: Validate block size (CVE-2014-0142)

This fixes some cases of division by zero crashes.

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 5e71dfad763d67bb64be79e20e93411c0c30ad25)

Conflicts:
tests/qemu-iotests/group

*fixed context mismatches in group file

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