summaryrefslogtreecommitdiffstats
path: root/gdbstub.c
diff options
context:
space:
mode:
authorAlex Bennée2019-06-06 17:38:19 +0200
committerAlex Bennée2019-06-12 18:53:23 +0200
commitab7a2009df66241a3742cbdfe8f9a1f66c6af21f (patch)
tree7eef4ad53741dab2ba07ff21bb5623233efa378d /gdbstub.c
parentMAINTAINERS: put myself forward for gdbstub (diff)
downloadqemu-ab7a2009df66241a3742cbdfe8f9a1f66c6af21f.tar.gz
qemu-ab7a2009df66241a3742cbdfe8f9a1f66c6af21f.tar.xz
qemu-ab7a2009df66241a3742cbdfe8f9a1f66c6af21f.zip
cputlb: cast size_t to target_ulong before using for address masks
While size_t is defined to happily access the biggest host object this isn't the case when generating masks for 64 bit guests on 32 bit hosts. Otherwise we end up truncating the address when we fall back to our unaligned helper. Fixes: https://bugs.launchpad.net/qemu/+bug/1831545 Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Tested-by: Andrew Randrianasulu <randrianasulu@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'gdbstub.c')
0 files changed, 0 insertions, 0 deletions