|
From: | Richard Henderson |
Subject: | Re: [PATCH 1/4] target/s390x: Fix CLC corrupting cc_src |
Date: | Tue, 31 Oct 2023 15:49:53 -0700 |
User-agent: | Mozilla Thunderbird |
On 10/30/23 22:32, Ilya Leoshkevich wrote:
CLC updates cc_src before accessing the second operand; if the latter is inaccessible, the former ends up containing a bogus value. Fix by reading cc_src into a temporary first. Fixes: 4f7403d52b1c ("target-s390: Convert CLC") Closes: https://gitlab.com/qemu-project/qemu/-/issues/1865 Cc: qemu-stable@nongnu.org Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> --- target/s390x/tcg/translate.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |