summaryrefslogtreecommitdiff
path: root/block-migration.c
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2014-12-26 13:16:48 +0100
committerPeter Wu <peter@lekensteyn.nl>2014-12-26 22:30:28 +0100
commit34df3eaebbf503a1eda6a6d64b5dbdf57475c517 (patch)
tree1a913903459c353fa27a3969e2fa00231fdbc257 /block-migration.c
parent90109c2d96f60441552bdbf8e68cf0f3f7d1f5f1 (diff)
downloadqemu-34df3eaebbf503a1eda6a6d64b5dbdf57475c517.tar.gz
block/dmg: validate chunk size to avoid overflow
Previously the chunk size was not checked, allowing for a large memory allocation. This patch checks whether the chunks size is within the resource fork length. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'block-migration.c')
0 files changed, 0 insertions, 0 deletions