]> xenbits.xensource.com Git - qemu-upstream-4.3-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 17:12:19 +0000 (17:12 +0000)
commit2b2db1eb5d886daa7d014115c568b6bc89e167c6
tree0861e54c5f6b843afb7efd8a73a9a94d30a3c643
parent62692e12010c1e7e387e80f1b744d4ae122f66cf
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