diff options
| author | Stefan Hajnoczi <stefanha@redhat.com> | 2015-01-12 12:31:32 +0000 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2015-02-06 17:24:21 +0100 |
| commit | 0adfa1ed655904d5bf17fe047635a563f0229789 (patch) | |
| tree | 9a3a00b75a5239f5fef4202d008e67ad5e5729ec /include/qapi/string-input-visitor.h | |
| parent | 177b75104da3e3a9af84975c32a44782d903c41f (diff) | |
| download | focaccia-qemu-0adfa1ed655904d5bf17fe047635a563f0229789.tar.gz focaccia-qemu-0adfa1ed655904d5bf17fe047635a563f0229789.zip | |
qed: check for header size overflow
Header size is denoted in clusters. The maximum cluster size is 64 MB but there is no limit on header size. Check for uint32_t overflow in case the header size field has a whacky value. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 1421065893-18875-2-git-send-email-stefanha@redhat.com Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/qapi/string-input-visitor.h')
0 files changed, 0 insertions, 0 deletions