Files
qemu-ios/block
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
..
2013-10-11 10:52:54 +02:00
2013-10-11 16:50:00 +02:00
2013-10-11 16:50:00 +02:00
2013-09-12 10:12:47 +02:00
2013-10-11 10:52:54 +02:00
2013-09-12 10:12:47 +02:00
2013-08-19 15:52:19 +02:00
2013-09-12 10:12:47 +02:00
2013-01-15 10:03:47 +01:00
2013-09-12 10:12:48 +02:00
2013-10-11 10:52:54 +02:00
2013-11-07 13:58:59 +01:00