summaryrefslogtreecommitdiffstats
path: root/scripts/tracetool/__init__.py
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas2014-11-17 05:12:29 +0100
committerAlexander Graf2015-01-07 16:16:26 +0100
commit338c25b6929b5436a42aaa106c7e9136cf1ff4dc (patch)
tree1878b0cf554ee790bfc8528ac5f737119273d7f9 /scripts/tracetool/__init__.py
parentspapr: Fix stale HTAB during live migration (KVM) (diff)
downloadqemu-338c25b6929b5436a42aaa106c7e9136cf1ff4dc.tar.gz
qemu-338c25b6929b5436a42aaa106c7e9136cf1ff4dc.tar.xz
qemu-338c25b6929b5436a42aaa106c7e9136cf1ff4dc.zip
spapr: Fix integer overflow during migration (TCG)
The n_valid and n_invalid fields are unsigned short integers but it is possible to have more than 65535 entries in a contiguous hunk, overflowing the field. This results in an incorrect HTAB being sent to the destination during migration. Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'scripts/tracetool/__init__.py')
0 files changed, 0 insertions, 0 deletions