diff options
| author | Fam Zheng | 2013-08-06 09:44:51 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2013-08-06 15:27:32 +0200 |
| commit | 8aa1331c09a9b899f48d97f097bb49b7d458be1c (patch) | |
| tree | de7c81ae02697f839077c7f997030493d1fbd6f6 /include/exec/cpu-defs.h | |
| parent | qemu-iotests: add empty test case for vmdk (diff) | |
| download | qemu-8aa1331c09a9b899f48d97f097bb49b7d458be1c.tar.gz qemu-8aa1331c09a9b899f48d97f097bb49b7d458be1c.tar.xz qemu-8aa1331c09a9b899f48d97f097bb49b7d458be1c.zip | |
vmdk: check granularity field in opening
Granularity is used to calculate the cluster size and allocate r/w
buffer. Check the value from image before using it, so we don't abort()
for unbounded memory allocation.
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/exec/cpu-defs.h')
0 files changed, 0 insertions, 0 deletions
