]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
bochs: Fix bitmap offset calculation
authorKevin Wolf <kwolf@redhat.com>
Wed, 26 Mar 2014 12:05:35 +0000 (13:05 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 3 Jul 2014 21:18:11 +0000 (16:18 -0500)
commit6ee0d5fdc7bbeb5419fb41fd949fd0b0ebe085db
tree7c397b9577922ec69c6c93075b7879bd3d82d4cb
parentb0a7517c244d09bbb087af0f8b455cabedc126ee
bochs: Fix bitmap offset calculation

32 bit truncation could let us access the wrong offset in the image.

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>
(cherry picked from commit a9ba36a45dfac645a810c31ce15ab393b69d820a)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
block/bochs.c