summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Hildenbrand2019-08-26 09:51:07 +0200
committerRichard Henderson2019-09-03 17:34:18 +0200
commit46750128631eaace54b69ddd8b63683edd4606cc (patch)
tree30d2582988ba04806cb204c639a2a3d9809e400c /include
parents390x/tcg: Use guest_addr_valid() instead of h2g_valid() in probe_write_access() (diff)
downloadqemu-46750128631eaace54b69ddd8b63683edd4606cc.tar.gz
qemu-46750128631eaace54b69ddd8b63683edd4606cc.tar.xz
qemu-46750128631eaace54b69ddd8b63683edd4606cc.zip
s390x/tcg: Fix length calculation in probe_write_access()
Hm... how did that "-" slip in (-TAGRET_PAGE_SIZE would be correct). This currently makes us exceed one page in a single probe_write() call, essentially leaving some memory unchecked. Fixes: c5a7392cfb96 ("s390x/tcg: Provide probe_write_access helper") Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: David Hildenbrand <david@redhat.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Message-Id: <20190826075112.25637-3-david@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions