|
From: | David Hildenbrand |
Subject: | Re: [PATCH 04/12] target/s390x: Fix MVCRL with a large value in R0 |
Date: | Tue, 4 Jul 2023 09:40:41 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 |
On 03.07.23 17:50, Ilya Leoshkevich wrote:
Using a large R0 causes an assertion error: qemu-s390x: target/s390x/tcg/mem_helper.c:183: access_prepare_nf: Assertion `size > 0 && size <= 4096' failed. Even though PoP explicitly advises against using more than 8 bits for the size, an emulator crash is never a good thing. Fix by truncating the size to 8 bits. Fixes: ea0a1053e276 ("s390x/tcg: Implement Miscellaneous-Instruction-Extensions Facility 3 for the s390x") Cc: qemu-stable@nongnu.org Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com> -- Cheers, David / dhildenb
[Prev in Thread] | Current Thread | [Next in Thread] |