diff options
| author | Kevin Wolf | 2014-03-26 13:05:53 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi | 2014-04-01 15:22:35 +0200 |
| commit | cab60de930684c33f67d4e32c7509b567f8c445b (patch) | |
| tree | 4e2f125f9c23314e55e742172151087be8f8c51a /block/dmg.c | |
| parent | qcow2: Protect against some integer overflows in bdrv_check (diff) | |
| download | qemu-cab60de930684c33f67d4e32c7509b567f8c445b.tar.gz qemu-cab60de930684c33f67d4e32c7509b567f8c445b.tar.xz qemu-cab60de930684c33f67d4e32c7509b567f8c445b.zip | |
qcow2: Fix new L1 table size check (CVE-2014-0143)
The size in bytes is assigned to an int later, so check that instead of
the number of entries.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/dmg.c')
0 files changed, 0 insertions, 0 deletions
