]> xenbits.xensource.com Git - qemu-upstream-4.2-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 18:17:04 +0000 (18:17 +0000)
commit3b96d669e67dc9b0b45d314d75d6158472280365
treef067aa1feb4490669857b4960aae9b820c6af28c
parent8820cc3906ac8fe3438e13d0ea66f4918c1286ba
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