Re: [Qemu-devel] [PATCH v1 2/9] s390x/tcg: Fix length calculation in probe_write_access()

2019-08-23 Thread Richard Henderson
On 8/23/19 3:07 AM, David Hildenbrand wrote: > 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

[Qemu-devel] [PATCH v1 2/9] s390x/tcg: Fix length calculation in probe_write_access()

2019-08-23 Thread David Hildenbrand
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") Signed-off-by: David Hildenbrand --- target/