]> xenbits.xensource.com Git - qemu-upstream-4.4-testing.git/commit
bochs: Use unsigned variables for offsets and sizes (CVE-2014-0147)
authorKevin Wolf <kwolf@redhat.com>
Thu, 5 Mar 2015 11:11:27 +0000 (11:11 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 5 Mar 2015 15:37:23 +0000 (15:37 +0000)
commitf2edd51682f1bf6a1fc5497feba0939d10b073e8
tree0aaa7317c62ed7fba9fc7ca69b5983e3adfac279
parentb0547854f6b90670b1ab8ce9a9bb1f7500361919
bochs: Use unsigned variables for offsets and sizes (CVE-2014-0147)

Gets us rid of integer overflows resulting in negative sizes which
aren't correctly checked.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
block/bochs.c