Stefan Hajnoczi 7dcffbb2bf block/cloop: refuse images with huge offsets arrays (CVE-2014-0144)
Limit offsets_size to 512 MB so that:

1. g_malloc() does not abort due to an unreasonable size argument.

2. offsets_size does not overflow the bdrv_pread() int size argument.

This limit imposes a maximum image size of 16 TB at 256 KB block size.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
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 7b103b36d6)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2014-07-03 16:18:10 -05:00
…
…
2014-06-25 15:17:15 -05:00
2014-02-21 00:34:41 -06:00
2014-06-25 17:09:33 -05:00
2014-02-25 13:34:15 -06:00
2014-02-21 00:34:41 -06:00
2013-11-25 20:36:27 -08:00
…
2013-10-26 13:01:57 +04:00
2013-10-11 09:34:56 -07:00
2013-09-05 09:40:31 -05:00
…
2013-10-11 10:52:54 +02:00
…
…
2013-10-11 09:34:56 -07:00
…
2013-11-06 21:47:05 -08:00
2013-11-04 15:39:41 +02:00
…
2013-10-17 10:10:14 +02:00
…
2013-09-03 12:25:55 +02:00
2013-09-06 15:25:08 +02:00
2013-11-18 13:45:10 +02:00
…
…
2013-09-02 09:08:29 -07:00
2013-10-11 09:34:56 -07:00
2013-09-25 21:23:05 +02:00
…
…
2014-06-25 16:02:25 -05:00
2014-03-03 16:30:51 -06:00
2013-10-11 09:34:56 -07:00
…

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
S
Description
A QEMU emulator for legacy Apple devices
Readme GPL-2.0
557 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 82.9%
C++ 6.4%
Python 3.3%
Dylan 2.9%
Shell 1.6%
Other 2.7%