diff options
| author | Fam Zheng | 2013-08-06 09:44:54 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2013-08-06 15:27:32 +0200 |
| commit | bf81507de38fdfa4cb6e9b46fb38691a25cb1499 (patch) | |
| tree | 51b9802cac18b54748b65020e0d3d74ffdda3c94 /scripts/checkpatch.pl | |
| parent | vmdk: check l1 size before opening image (diff) | |
| download | qemu-bf81507de38fdfa4cb6e9b46fb38691a25cb1499.tar.gz qemu-bf81507de38fdfa4cb6e9b46fb38691a25cb1499.tar.xz qemu-bf81507de38fdfa4cb6e9b46fb38691a25cb1499.zip | |
vmdk: use heap allocation for whole_grain
We should never grow the stack beyond 1 MB, otherwise we'll fall off the
end. Thread stacks and coroutine stacks (1 MB) do not grow.
get_cluster_offset() allocates a big stack offset, it will fail for big
cluster images, change to heap allocated buffer.
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
